fix: rollback getExceptionHandler change (#158)
REVERT: fix: Update deprecated functions (#149)
This commit is contained in:
parent
b4d1576937
commit
bd23aa15d8
|
@ -115,7 +115,7 @@ public class CameraRollModule extends ReactContextBaseJavaModule {
|
||||||
private final ReadableMap mOptions;
|
private final ReadableMap mOptions;
|
||||||
|
|
||||||
public SaveToCameraRoll(ReactContext context, Uri uri, ReadableMap options, Promise promise) {
|
public SaveToCameraRoll(ReactContext context, Uri uri, ReadableMap options, Promise promise) {
|
||||||
super(context.getExceptionHandler());
|
super(context);
|
||||||
mContext = context;
|
mContext = context;
|
||||||
mUri = uri;
|
mUri = uri;
|
||||||
mPromise = promise;
|
mPromise = promise;
|
||||||
|
@ -274,7 +274,7 @@ public class CameraRollModule extends ReactContextBaseJavaModule {
|
||||||
long fromTime,
|
long fromTime,
|
||||||
long toTime,
|
long toTime,
|
||||||
Promise promise) {
|
Promise promise) {
|
||||||
super(context.getExceptionHandler());
|
super(context);
|
||||||
mContext = context;
|
mContext = context;
|
||||||
mFirst = first;
|
mFirst = first;
|
||||||
mAfter = after;
|
mAfter = after;
|
||||||
|
@ -612,7 +612,7 @@ public class CameraRollModule extends ReactContextBaseJavaModule {
|
||||||
private final Promise mPromise;
|
private final Promise mPromise;
|
||||||
|
|
||||||
public DeletePhotos(ReactContext context, ReadableArray uris, Promise promise) {
|
public DeletePhotos(ReactContext context, ReadableArray uris, Promise promise) {
|
||||||
super(context.getExceptionHandler());
|
super(context);
|
||||||
mContext = context;
|
mContext = context;
|
||||||
mUris = uris;
|
mUris = uris;
|
||||||
mPromise = promise;
|
mPromise = promise;
|
||||||
|
|
Loading…
Reference in New Issue