This is an automated email from the ASF dual-hosted git repository. normanbreau pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cordova-plugin-media-capture.git
The following commit(s) were added to refs/heads/master by this push: new 5a3439a feat(android): Field 'storagePermissions' may be 'final' (#281) 5a3439a is described below commit 5a3439aa928f6378e56ff4210a7d12c4213afdd6 Author: Alexis THOMAS <ath0...@users.noreply.github.com> AuthorDate: Wed Dec 18 18:30:12 2024 +0100 feat(android): Field 'storagePermissions' may be 'final' (#281) --- src/android/Capture.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/android/Capture.java b/src/android/Capture.java index f321248..c915c39 100644 --- a/src/android/Capture.java +++ b/src/android/Capture.java @@ -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, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org