From bd23aa15d8a0f20b7342e419e1b06bac0b6961bb Mon Sep 17 00:00:00 2001 From: Bartol Karuza Date: Thu, 26 Mar 2020 11:56:13 +0200 Subject: [PATCH] fix: rollback getExceptionHandler change (#158) REVERT: fix: Update deprecated functions (#149) --- .../reactnativecommunity/cameraroll/CameraRollModule.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java b/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java index 0c62c7fe2..63896c886 100644 --- a/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java +++ b/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java @@ -115,7 +115,7 @@ public class CameraRollModule extends ReactContextBaseJavaModule { private final ReadableMap mOptions; public SaveToCameraRoll(ReactContext context, Uri uri, ReadableMap options, Promise promise) { - super(context.getExceptionHandler()); + super(context); mContext = context; mUri = uri; mPromise = promise; @@ -274,7 +274,7 @@ public class CameraRollModule extends ReactContextBaseJavaModule { long fromTime, long toTime, Promise promise) { - super(context.getExceptionHandler()); + super(context); mContext = context; mFirst = first; mAfter = after; @@ -612,7 +612,7 @@ public class CameraRollModule extends ReactContextBaseJavaModule { private final Promise mPromise; public DeletePhotos(ReactContext context, ReadableArray uris, Promise promise) { - super(context.getExceptionHandler()); + super(context); mContext = context; mUris = uris; mPromise = promise;