hunk.code_window:           mimeType = "*/*";
           }
         }
         Intent intent = Intent.createChooser(createSharingIntent(contentUri, mimeType), params.getString(DIALOG_TITLE_OPTIONS_KEY));
         mModuleRegistry.getModule(ActivityProvider.class).getCurrentActivity().startActivityForResult(intent, REQUEST_CODE);
         mPendingPromise = promise;
       } catch (InvalidArgumentException e) {
  
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit:       List<ResolveInfo> resInfoList = mContext.getPackageManager().queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY);
         for (ResolveInfo resolveInfo : resInfoList) {
           String packageName = resolveInfo.activityInfo.packageName;
           mContext.grantUriPermission(packageName, contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION);
         }
  
hunk.file_path: android/versioned-abis/expoview-abi39_0_0/src/main/java/abi39_0_0/expo/modules/sharing/SharingModule.java
hunk.type: add
file: /*
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  #include "ABI38_0_0Touch.h"
  
  namespace ABI38_0_0facebook {
  namespace ABI38_0_0React {
  
  #if ABI38_0_0RN_DEBUG_STRING_CONVERTIBLE
  
  std::string getDebugName(Touch const &touch) {
    return "Touch";
  }
  
  std::vector<DebugStringConvertibleObject> getDebugProps(
      Touch const &touch,
      DebugStringConvertibleOptions options) {
    return {
        {"pagePoint", getDebugDescription(touch.pagePoint, options)},
        {"offsetPoint", getDebugDescription(touch.offsetPoint, options)},
        {"screenPoint", getDebugDescription(touch.screenPoint, options)},
        {"identifier", getDebugDescription(touch.identifier, options)},
        {"target", getDebugDescription(touch.target, options)},
        {"force", getDebugDescription(touch.force, options)},
        {"timestamp", getDebugDescription(touch.timestamp, options)},
    };
  }
  
  #endif
  
  } // namespace ABI38_0_0React
  } // namespace ABI38_0_0facebook
  