Skip to content

Commit

Permalink
feat(android): Field 'storagePermissions' may be 'final' (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
ath0mas authored Dec 18, 2024
1 parent c7a3038 commit 5a3439a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/android/Capture.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,10 @@ public class Capture extends CordovaPlugin {
private static final int CAPTURE_PERMISSION_DENIED = 4;
private static final int CAPTURE_NOT_SUPPORTED = 20;

private static String[] storagePermissions;
private static final String[] storagePermissions;
static {
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
storagePermissions = new String[]{
};
storagePermissions = new String[] {};
} else {
storagePermissions = new String[] {
Manifest.permission.READ_EXTERNAL_STORAGE,
Expand Down

0 comments on commit 5a3439a

Please sign in to comment.