Commit 966be91a22be07afb21ee4c4be2942075840fecd
1 parent
2e51bec6
Exists in
master
Code cleanup
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
android/src/main/java/com/rncustomwebview/CustomWebViewModule.java
... | ... | @@ -31,7 +31,6 @@ public class CustomWebViewModule extends ReactContextBaseJavaModule implements A |
31 | 31 | public static final String REACT_CLASS = "CustomWebViewModule"; |
32 | 32 | private static final int REQUEST_CAMERA = 1; |
33 | 33 | private static final int SELECT_FILE = 2; |
34 | - public static final int REQUEST_STORAGE = 3; | |
35 | 34 | |
36 | 35 | private CustomWebViewPackage aPackage; |
37 | 36 | private ValueCallback<Uri[]> filePathCallback; |
... | ... | @@ -233,6 +232,7 @@ public class CustomWebViewModule extends ReactContextBaseJavaModule implements A |
233 | 232 | } |
234 | 233 | |
235 | 234 | private String[] getSafeAcceptedTypes(WebChromeClient.FileChooserParams params) { |
235 | + | |
236 | 236 | // the getAcceptTypes() is available only in api 21+ |
237 | 237 | // for lower level, we ignore it |
238 | 238 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { | ... | ... |