[Android] Allow refusing the storage permission for the mobile app

Nicolas Pomepuy git at videolan.org
Mon Jul 5 11:12:29 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Jun 18 07:59:22 2021 +0200| [73ef78666549e572fe98d427d2d55a4a8bd4d26b] | committer: Nicolas Pomepuy

Allow refusing the storage permission for the mobile app

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

 .../resources/src/main/res/values/strings.xml      |  5 ++
 .../res/layout/onboarding_no_permission.xml        | 95 ++++++++++++++++++++++
 .../vlc-android/res/layout/playlists_fragment.xml  | 26 +++---
 .../vlc-android/res/layout/view_empty_loading.xml  | 29 +++++++
 .../src/org/videolan/vlc/PlaybackService.kt        |  2 +-
 .../src/org/videolan/vlc/gui/MainActivity.kt       |  1 -
 .../src/org/videolan/vlc/gui/PlaylistFragment.kt   | 13 ++-
 .../videolan/vlc/gui/audio/AudioBrowserFragment.kt |  4 +-
 .../vlc/gui/browser/BaseBrowserFragment.kt         |  1 +
 .../vlc/gui/browser/MainBrowserFragment.kt         |  8 +-
 .../gui/helpers/hf/StoragePermissionsDelegate.kt   |  3 +-
 .../vlc/gui/onboarding/OnboardingActivity.kt       |  3 +-
 .../onboarding/OnboardingFragmentPagerAdapter.kt   |  3 +-
 .../onboarding/OnboardingNoPermissionFragment.kt   | 40 +++++++++
 .../videolan/vlc/gui/video/VideoGridFragment.kt    |  2 +
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  |  2 +-
 .../videolan/vlc/gui/view/EmptyLoadingStateView.kt | 14 ++--
 .../videolan/vlc/providers/FileBrowserProvider.kt  |  7 +-
 .../providers/medialibrary/MedialibraryProvider.kt |  4 +-
 .../org/videolan/vlc/viewmodels/StreamsModel.kt    |  2 +-
 20 files changed, 230 insertions(+), 34 deletions(-)

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


More information about the Android mailing list