Skip to content

Commit 627fab0

Browse files
committed
Remove @Nullable annotation.
- This removes the dependency on `android.support` and `androidx`. Side-stepping the need to make a major change to the project to support both libraries.
1 parent 3d9bcbc commit 627fab0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

android/src/main/java/com/rnfs/RNFSManager.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import android.os.Environment;
99
import android.os.StatFs;
1010
import android.provider.MediaStore;
11-
import androidx.annotation.Nullable;
1211
import android.util.Base64;
1312
import android.util.SparseArray;
1413
import android.media.MediaScannerConnection;
@@ -682,7 +681,7 @@ public void mkdir(String filepath, ReadableMap options, Promise promise) {
682681
}
683682
}
684683

685-
private void sendEvent(ReactContext reactContext, String eventName, @Nullable WritableMap params) {
684+
private void sendEvent(ReactContext reactContext, String eventName, WritableMap params) {
686685
reactContext
687686
.getJSModule(RCTNativeAppEventEmitter.class)
688687
.emit(eventName, params);

0 commit comments

Comments
 (0)