[Android] Fix app crashing when opening video from outside and changing the orientation
Nicolas Pomepuy
git at videolan.org
Tue Jan 21 10:23:04 UTC 2025
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Jan 21 06:54:13 2025 +0100| [7a3bb7e8497a31a9675e014bde55d8651277e807] | committer: Nicolas Pomepuy
Fix app crashing when opening video from outside and changing the orientation
> https://code.videolan.org/videolan/vlc-android/commit/7a3bb7e8497a31a9675e014bde55d8651277e807
---
application/vlc-android/AndroidManifest.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/application/vlc-android/AndroidManifest.xml b/application/vlc-android/AndroidManifest.xml
index e95e1bdf2d..aed9780013 100644
--- a/application/vlc-android/AndroidManifest.xml
+++ b/application/vlc-android/AndroidManifest.xml
@@ -85,7 +85,8 @@
<activity
android:name=".StartActivity"
- android:theme="@style/Theme.VLC.Transparent.NoUI"
+ android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|uiMode|keyboard|keyboardHidden|navigation"
+ android:theme="@style/Theme.VLC.Transparent.NoUI"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
More information about the Android
mailing list