[Android] Add keyboard flags to VideoPlayerActivity config change to avoid crashes

Nicolas Pomepuy git at videolan.org
Thu Jun 6 16:39:08 CEST 2019


vlc-android | branch: 3.1.x | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Jun  6 09:20:53 2019 +0200| [77a03b29680731fff27531f76c2c5ae3483135d9] | committer: Geoffrey Métais

Add keyboard flags to VideoPlayerActivity config change to avoid crashes

(cherry picked from commit 564312e2d967fdd233d8c7a3164fab68542c2f23)

> https://code.videolan.org/videolan/vlc-android/commit/77a03b29680731fff27531f76c2c5ae3483135d9
---

 vlc-android/AndroidManifest.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 45fb170f1..dcccd8af0 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -489,7 +489,7 @@
             android:theme="@style/Theme.VLC" />
         <activity
             android:name=".gui.video.VideoPlayerActivity"
-            android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|uiMode"
+            android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|uiMode|keyboard|keyboardHidden|navigation"
             android:exported="true"
             android:finishOnTaskLaunch="true"
             android:launchMode="singleTask"



More information about the Android mailing list