[Android] Set custom video player rotation animation

Geoffrey Métais git at videolan.org
Wed May 2 15:34:36 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed May  2 15:18:36 2018 +0200| [278849f437a73763ce4e1d6a0d71c19430bc58ac] | committer: Geoffrey Métais

Set custom video player rotation animation

Improves activity rotation, by preventing image freeze

> https://code.videolan.org/videolan/vlc-android/commit/278849f437a73763ce4e1d6a0d71c19430bc58ac
---

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

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 334ea8a18..ec6076c79 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -468,6 +468,7 @@
             android:supportsPictureInPicture="true"
             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
             android:exported="true"
+            android:rotationAnimation="jumpcut"
             android:launchMode="singleTask"
             android:theme="@style/Theme.VLC.Player" />
 



More information about the Android mailing list