From b8f5108769579a7ff30a9c7238bdf3161c64dbb6 Mon Sep 17 00:00:00 2001 From: Petros Paraskevopoulos Date: Thu, 6 Apr 2023 14:49:36 +0300 Subject: [PATCH] Analysis: Suppress scoped storage lint warning for main Warning Message: "WRITE_EXTERNAL_STORAGE no longer provides write access when targeting Android 11+, even when using 'requestLegacyExternalStorage'" Explanation: "Scoped storage is enforced on Android 10+ (or Android 11+ if using requestLegacyExternalStorage). In particular, WRITE_EXTERNAL_STORAGE will no longer provide write access to all files; it will provide the equivalent of READ_EXTERNAL_STORAGE instead." ------------------------------------------------------------------------ This warning is already addressed and will be fixed as part of the ongoing Android 13 media permissions work (see PR below): PR: https://github.com/wordpress-mobile/WordPress-Android/pull/18183 --- WordPress/src/main/AndroidManifest.xml | 4 +++- config/lint/baseline.xml | 11 ----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/WordPress/src/main/AndroidManifest.xml b/WordPress/src/main/AndroidManifest.xml index 97ad667775c6..a462f9c4e354 100644 --- a/WordPress/src/main/AndroidManifest.xml +++ b/WordPress/src/main/AndroidManifest.xml @@ -17,7 +17,9 @@ - + diff --git a/config/lint/baseline.xml b/config/lint/baseline.xml index 965b2405467c..773d83af5930 100644 --- a/config/lint/baseline.xml +++ b/config/lint/baseline.xml @@ -1,17 +1,6 @@ - - - -