[Android] Create the new permission setting

Nicolas Pomepuy git at videolan.org
Mon Nov 25 11:07:02 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Oct 22 08:46:35 2024 +0200| [ba9420b3a1493a3490faa9da06a3652fcb043464] | committer: Duncan McNamara

Create the new permission setting

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

 .../images/svg/ic_permission_check_unchecked.svg   |  51 +++++
 .../images/svg/ic_permission_media_audio.svg       | 244 ++++++++++++++++++++
 .../images/svg/ic_permission_media_video.svg       | 244 ++++++++++++++++++++
 .../res/drawable/ic_permission_media_audio.xml     |  56 +++++
 .../drawable/ic_permission_media_audio_denied.xml  |  55 +++++
 .../res/drawable/ic_permission_media_video.xml     |  30 +++
 .../drawable/ic_permission_media_video_denied.xml  |  30 +++
 .../rounded_corners_permissions_explanation.xml    |   9 +
 .../resources/src/main/res/values/attrs.xml        |   1 +
 .../resources/src/main/res/values/strings.xml      |   8 +
 .../vlc-android/res/layout/dialog_permissions.xml  | 187 ++++++++++++++++
 application/vlc-android/res/values/styles.xml      |   2 +
 application/vlc-android/res/xml/preferences.xml    |   6 +
 .../vlc/gui/dialogs/PermissionListDialog.kt        | 246 +++++++++++++++++++++
 .../vlc/gui/preferences/PreferencesFragment.kt     |   6 +
 .../src/org/videolan/vlc/util/Permissions.kt       |  30 +++
 16 files changed, 1205 insertions(+)

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


More information about the Android mailing list