Skip to content

Commit

Permalink
[MMCA] Fix permissions_external_storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Sobottasgithub committed May 7, 2024
1 parent 67d9f04 commit d417799
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/MobileCrashAnalyzer/data/conf/buildozer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fullscreen = 0

# android specific
android.minapi = 29
android.permissions = WRITE_EXTERNAL_STORAGE,READ_EXTERNAL_STORAGE,ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION
android.permissions = WRITE_EXTERNAL_STORAGE,READ_EXTERNAL_STORAGE,ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION,ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION
android.arch = armeabi-v7a
android.manifest.intent_filters = intent_filters.xml

Expand Down
2 changes: 1 addition & 1 deletion src/MobileLogViewer/data/conf/buildozer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fullscreen = 0

# android specific
android.minapi = 29
android.permissions = WRITE_EXTERNAL_STORAGE,READ_EXTERNAL_STORAGE,ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION
android.permissions = WRITE_EXTERNAL_STORAGE,READ_EXTERNAL_STORAGE,ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION,ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION
android.arch = armeabi-v7a
android.manifest.intent_filters = intent_filters.xml

Expand Down
2 changes: 1 addition & 1 deletion src/shared/utils/mobileHelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
logger = logging.getLogger(__name__)

# See: https://stackoverflow.com/questions/64849485/why-is-filemanager-not-working-on-android-kivymd
def permissions_external_storage(self, *args):
def permissions_external_storage(*args):
if not J_Environment.isExternalStorageManager():
try:
logger.debug("Ask for ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION")
Expand Down

0 comments on commit d417799

Please sign in to comment.