Skip to content

Commit 5a3439a

Browse files
authored
feat(android): Field 'storagePermissions' may be 'final' (#281)
1 parent c7a3038 commit 5a3439a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/android/Capture.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,10 @@ public class Capture extends CordovaPlugin {
7676
private static final int CAPTURE_PERMISSION_DENIED = 4;
7777
private static final int CAPTURE_NOT_SUPPORTED = 20;
7878

79-
private static String[] storagePermissions;
79+
private static final String[] storagePermissions;
8080
static {
8181
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
82-
storagePermissions = new String[]{
83-
};
82+
storagePermissions = new String[] {};
8483
} else {
8584
storagePermissions = new String[] {
8685
Manifest.permission.READ_EXTERNAL_STORAGE,

0 commit comments

Comments
 (0)