[Android] Fix and improve OTG permission asking

Nicolas Pomepuy git at videolan.org
Tue Nov 3 15:47:10 CET 2020


vlc-android | branch: 3.3.x | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Nov  3 08:20:31 2020 +0100| [6d5775ffd76c32895cec1033dc7cba5a7fd7d6b6] | committer: Nicolas Pomepuy

Fix and improve OTG permission asking

(cherry picked from commit 15cbd981750579b37cb5d9719b512218f30e8a36)

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

 .../resources/src/main/res/values/strings.xml      |  2 ++
 .../vlc/gui/browser/FileBrowserFragment.kt         | 27 ------------------
 .../vlc/gui/browser/MainBrowserFragment.kt         | 29 +++++++++++++++++++
 .../org/videolan/vlc/gui/helpers/hf/OtgAccess.kt   | 33 ++++++++++++++--------
 .../org/videolan/vlc/providers/StorageProvider.kt  |  4 +++
 .../videolan/vlc/repository/DirectoryRepository.kt |  8 +++---
 6 files changed, 61 insertions(+), 42 deletions(-)

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


More information about the Android mailing list