[Android] Video: disable volume/brightness when irrelevant

Geoffrey Métais git at videolan.org
Tue Jun 18 14:36:13 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jun 18 11:20:40 2019 +0200| [19060ee1bd711bff4ba54726eb09c6ac9e221218] | committer: Geoffrey Métais

Video: disable volume/brightness when irrelevant

Volume: AudioManager.isVolumeFixed() forbids volume touch ctrl
Brightness: disabled on Chromebooks and TVs

> https://code.videolan.org/videolan/vlc-android/commit/19060ee1bd711bff4ba54726eb09c6ac9e221218
---

 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  | 76 +++++++++++-----------
 .../videolan/vlc/gui/video/VideoTouchDelegate.kt   | 12 ++--
 2 files changed, 43 insertions(+), 45 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/19060ee1bd711bff4ba54726eb09c6ac9e221218


More information about the Android mailing list