[Android] Benchmark: fix rotation issue
Duncan McNamara
git at videolan.org
Mon Dec 10 18:49:36 CET 2018
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Mon Dec 10 16:24:06 2018 +0100| [85d0235e83beab27c14474a3fe6686aec5106ad4] | committer: Geoffrey Métais
Benchmark: fix rotation issue
Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>
> https://code.videolan.org/videolan/vlc-android/commit/85d0235e83beab27c14474a3fe6686aec5106ad4
---
vlc-android/AndroidManifest.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index e21d7e845..c61a71f6d 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -547,7 +547,8 @@
<activity
android:name=".gui.video.benchmark.BenchActivity"
- android:screenOrientation="landscape"
+ android:screenOrientation="nosensor"
+ android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true"
android:launchMode="singleInstance"
android:theme="@style/Theme.VLC.Player" />
More information about the Android
mailing list