docs: public static boolean handleActivityResult(Context context, PendingCall appCall, int requestCode, Intent data,
              Callback callback) {
          if (requestCode != appCall.getRequestCode()) {
              return false;
          }
  
          if (attachmentStore != null) {
              attachmentStore.cleanupAttachmentsForCall(context, appCall.getCallId());
          }
  
          if (callback != null) {
              if (NativeProtocol.isErrorResult(data)) {
                  Exception error = NativeProtocol.getErrorFromResult(data);
  
                  // TODO  - data.getExtras() doesn't work for the bucketed protocol.
                  callback.onError(appCall, error, data.getExtras());
              } else {
                  callback.onComplete(appCall, NativeProtocol.getSuccessResultsFromIntent(data));
              }
          }
  
          return true;
      }