show the media managemement prompt at every app launch, if needed

This commit is contained in:
tibbi 2022-05-30 22:52:00 +02:00
parent dc5bea69c5
commit 4ab9fcb29d

View file

@ -159,7 +159,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
callback(granted) callback(granted)
if (granted && isRPlus()) { if (granted && isRPlus()) {
handlePermission(PERMISSION_MEDIA_LOCATION) {} handlePermission(PERMISSION_MEDIA_LOCATION) {}
if (!mWasMediaManagementPromptShown && (config.appRunCount == 1 || config.appRunCount % 5 == 0)) { if (!mWasMediaManagementPromptShown) {
mWasMediaManagementPromptShown = true mWasMediaManagementPromptShown = true
handleMediaManagementPrompt { } handleMediaManagementPrompt { }
} }