handle Video access permission on Android 13+
This commit is contained in:
parent
3e529c4e3a
commit
72d3903bd1
|
@ -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 New Issue