[Android] Fix fastlane crash with a new needed permission

Nicolas Pomepuy git at videolan.org
Tue Aug 10 05:47:08 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Aug  9 10:17:25 2021 +0200| [164d8db595f92fad093c64b9f49568c5a3cbb607] | committer: Nicolas Pomepuy

Fix fastlane crash with a new needed permission

> https://code.videolan.org/videolan/vlc-android/commit/164d8db595f92fad093c64b9f49568c5a3cbb607
---

 .../java/org/videolan/vlc/PhoneScreenhotsInstrumentedTest.kt           | 2 +-
 application/vlc-android/src/debug/AndroidManifest.xml                  | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/application/app/src/androidTest/java/org/videolan/vlc/PhoneScreenhotsInstrumentedTest.kt b/application/app/src/androidTest/java/org/videolan/vlc/PhoneScreenhotsInstrumentedTest.kt
index 76a9fb8d7..000fbab99 100644
--- a/application/app/src/androidTest/java/org/videolan/vlc/PhoneScreenhotsInstrumentedTest.kt
+++ b/application/app/src/androidTest/java/org/videolan/vlc/PhoneScreenhotsInstrumentedTest.kt
@@ -72,7 +72,7 @@ class PhoneScreenhotsInstrumentedTest : BaseUITest() {
        // ScreenshotUtil.takeScreenshot("01_trash")
         onView(withId(R.id.sliding_tabs)).perform(TabsMatcher(0))
         waitUntilLoaded { activity.findViewById(R.id.audio_list) }
-        SystemClock.sleep(300)
+        SystemClock.sleep(500)
         ScreenshotUtil.takeScreenshot(3, "audio_list")
         onView(withId(R.id.sliding_tabs)).perform(TabsMatcher(2))
         waitUntilLoaded { activity.findViewById(R.id.audio_list) }
diff --git a/application/vlc-android/src/debug/AndroidManifest.xml b/application/vlc-android/src/debug/AndroidManifest.xml
index e61891c82..30c4fdf37 100644
--- a/application/vlc-android/src/debug/AndroidManifest.xml
+++ b/application/vlc-android/src/debug/AndroidManifest.xml
@@ -7,4 +7,7 @@
     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
+    <uses-permission
+            android:name="android.permission.DUMP"
+            tools:ignore="ProtectedPermissions" />
 </manifest>
\ No newline at end of file



More information about the Android mailing list