[Android] Factorize runtime permissions management

Geoffrey Métais git at videolan.org
Wed Sep 13 11:32:30 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Sep 13 11:31:25 2017 +0200| [dc9a39edaa613a8e29c7e36cdee3573172081841] | committer: Geoffrey Métais

Factorize runtime permissions management

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

 .../src/org/videolan/vlc/gui/MainActivity.java     |  31 +-----
 .../org/videolan/vlc/gui/audio/AudioPlayer.java    |   2 +-
 .../org/videolan/vlc/gui/helpers/AudioUtil.java    |   4 +-
 .../vlc/gui/helpers/hf/BaseHeadlessFragment.java   |  57 +++++++++++
 .../gui/helpers/hf/StoragePermissionsDelegate.java | 106 +++++++++++++++++++++
 .../org/videolan/vlc/gui/tv/MainTvActivity.java    |  23 -----
 .../vlc/gui/video/VideoPlayerActivity.java         |  20 ----
 .../src/org/videolan/vlc/util/Permissions.java     |  33 +++----
 8 files changed, 186 insertions(+), 90 deletions(-)

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


More information about the Android mailing list