[Android] Hide rotation button on Chromebooks

Geoffrey Métais git at videolan.org
Thu Jan 24 15:02:49 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 24 15:02:21 2019 +0100| [5077de125a58d7a2994a48708f84c5eabd99f0d8] | committer: Geoffrey Métais

Hide rotation button on Chromebooks

> https://code.videolan.org/videolan/vlc-android/commit/5077de125a58d7a2994a48708f84c5eabd99f0d8
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index e526d3abc..4ad3a1110 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2280,7 +2280,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
                 mHudBinding.playerOverlaySize.setVisibility(View.GONE);
             }
 
-            if(!mIsTv)
+            if(!mIsTv && !AndroidDevices.isChromeBook)
                 mOrientationToggle.setVisibility(View.VISIBLE);
         } else {
             mHudBinding.setProgress(mService.getPlaylistManager().getPlayer().getProgress());



More information about the Android mailing list