diff --git a/android/src/main/java/com/rnfs/RNFSManager.java b/android/src/main/java/com/rnfs/RNFSManager.java index aad1778d..9d506749 100755 --- a/android/src/main/java/com/rnfs/RNFSManager.java +++ b/android/src/main/java/com/rnfs/RNFSManager.java @@ -8,7 +8,7 @@ import android.os.Environment; import android.os.StatFs; import android.provider.MediaStore; -import android.support.annotation.Nullable; + import android.util.Base64; import android.util.SparseArray; import android.media.MediaScannerConnection; @@ -682,7 +682,7 @@ public void mkdir(String filepath, ReadableMap options, Promise promise) { } } - private void sendEvent(ReactContext reactContext, String eventName, @Nullable WritableMap params) { + private void sendEvent(ReactContext reactContext, String eventName, WritableMap params) { reactContext .getJSModule(RCTNativeAppEventEmitter.class) .emit(eventName, params);