diff options
| author | Albin <albin@mullvad.net> | 2023-08-02 16:19:44 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2023-08-03 15:35:04 +0200 |
| commit | 6173beea1a634e0fb0141a3091b9e62fa75be096 (patch) | |
| tree | 94dd69ae3bd58d25e607992e0ab9606f388b102e /android | |
| parent | f92d674c9436d57afc92fcd8a45c5cd41ed17a85 (diff) | |
| download | mullvadvpn-6173beea1a634e0fb0141a3091b9e62fa75be096.tar.xz mullvadvpn-6173beea1a634e0fb0141a3091b9e62fa75be096.zip | |
Update lint baseline
Diffstat (limited to 'android')
| -rw-r--r-- | android/app/lint-baseline.xml | 15 | ||||
| -rw-r--r-- | android/lib/common/lint-baseline.xml | 2 | ||||
| -rw-r--r-- | android/lib/resource/lint-baseline.xml | 2 |
3 files changed, 15 insertions, 4 deletions
diff --git a/android/app/lint-baseline.xml b/android/app/lint-baseline.xml index 47d84f2ef2..9df8e041a9 100644 --- a/android/app/lint-baseline.xml +++ b/android/app/lint-baseline.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<issues format="6" by="lint 7.4.2" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.2)" variant="all" version="7.4.2"> +<issues format="6" by="lint 8.0.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.2)" variant="all" version="8.0.2"> <issue id="MissingSuperCall" @@ -25,7 +25,18 @@ <issue id="ScopedStorage" - message="WRITE_EXTERNAL_STORAGE no longer provides write access when targeting Android 10+" + message="READ_EXTERNAL_STORAGE is deprecated (and is not granted) when targeting Android 13+. If you need to query or interact with MediaStore or media files on the shared storage, you should instead use one or more new storage permissions: `READ_MEDIA_IMAGES`, `READ_MEDIA_VIDEO` or `READ_MEDIA_AUDIO`." + errorLine1=" <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + <location + file="src/debug/AndroidManifest.xml" + line="4" + column="36"/> + </issue> + + <issue + id="ScopedStorage" + message="WRITE_EXTERNAL_STORAGE is deprecated (and is not granted) when targeting Android 13+. If you need to write to shared storage, use the `MediaStore.createWriteRequest` intent." errorLine1=" <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location diff --git a/android/lib/common/lint-baseline.xml b/android/lib/common/lint-baseline.xml index 64b3ac2da0..141342d165 100644 --- a/android/lib/common/lint-baseline.xml +++ b/android/lib/common/lint-baseline.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<issues format="6" by="lint 7.4.2" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.2)" variant="all" version="7.4.2"> +<issues format="6" by="lint 8.0.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.2)" variant="all" version="8.0.2"> <issue id="QueryAllPackagesPermission" diff --git a/android/lib/resource/lint-baseline.xml b/android/lib/resource/lint-baseline.xml index 96809601b9..81140b098e 100644 --- a/android/lib/resource/lint-baseline.xml +++ b/android/lib/resource/lint-baseline.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<issues format="6" by="lint 7.4.2" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.2)" variant="all" version="7.4.2"> +<issues format="6" by="lint 8.0.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.2)" variant="all" version="8.0.2"> <issue id="MissingQuantity" |
