handle Video access permission on Android 13+
This commit is contained in:
parent
3e529c4e3a
commit
72d3903bd1
1 changed files with 4 additions and 0 deletions
|
@ -163,6 +163,10 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
|||
callback(granted)
|
||||
if (granted && isRPlus()) {
|
||||
handlePermission(PERMISSION_MEDIA_LOCATION) {}
|
||||
if (isTiramisuPlus()) {
|
||||
handlePermission(PERMISSION_READ_MEDIA_VIDEO) {}
|
||||
}
|
||||
|
||||
if (!mWasMediaManagementPromptShown) {
|
||||
mWasMediaManagementPromptShown = true
|
||||
handleMediaManagementPrompt { }
|
||||
|
|
Loading…
Reference in a new issue