fix: rollback getExceptionHandler change (#158)

REVERT: fix: Update deprecated functions (#149)
This commit is contained in:
Bartol Karuza 2020-03-26 11:56:13 +02:00 committed by GitHub
parent b4d1576937
commit bd23aa15d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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;