File-Manager
File-Manager copied to clipboard
ActivityNotFoundException: android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION
Checklist
- [x] I can reproduce the bug with the latest version given here.
- [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- [x] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- [x] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- [x] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [x] This issue contains only one bug.
- [x] I have read and understood the contribution guidelines.
Affected app version
1.3.1
Affected Android/Custom ROM version
Android 12 TV (stock, google certified)
Affected device model
Dynalink DL-ATV36 (a.k.a. wade)
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
start the app with file access permission not manually granted beforehand. hit OK to the missing permission dialog.
Expected behavior
app pops permission UI.
Actual behavior
app tries to pop a UI that does not exist, fails to recover from the event and dies. logcat below.
Screenshots/Screen recordings
No response
Additional information
10-21 15:48:28.229 3609 7232 I ActivityTaskManager: START u0 {act=android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION cat=[android.intent.category.DEFAULT] dat=package:org.fossify.filemanager} from uid 10069
10-21 15:48:28.231 3364 5098 I audio-subMixingFactory: padding_bytes 6144
10-21 15:48:28.231 7583 7583 D CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10069; state: ENABLED
10-21 15:48:28.235 3609 4738 I ActivityTaskManager: START u0 {act=android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION} from uid 10069
10-21 15:48:28.236 7583 7583 D AndroidRuntime: Shutting down VM
10-21 15:48:28.237 7583 7583 E AndroidRuntime: FATAL EXCEPTION: main
10-21 15:48:28.237 7583 7583 E AndroidRuntime: Process: org.fossify.filemanager, PID: 7583
10-21 15:48:28.237 7583 7583 E AndroidRuntime: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION }
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2087)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at android.app.Instrumentation.execStartActivity(Instrumentation.java:1747)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5404)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at b.n.startActivityForResult(SourceFile:2)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5362)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at b.n.startActivityForResult(SourceFile:1)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at org.fossify.filemanager.activities.SimpleActivity.handleStoragePermission$lambda$0(Unknown Source:79)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at org.fossify.filemanager.activities.SimpleActivity.G(Unknown Source:0)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at org.fossify.commons.activities.C.invoke(Unknown Source:79)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at org.fossify.commons.dialogs.ConfirmationAdvancedDialog.positivePressed(Unknown Source:11)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at org.fossify.commons.dialogs.ConfirmationAdvancedDialog._init_$lambda$1(Unknown Source:0)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at org.fossify.commons.dialogs.ConfirmationAdvancedDialog.b(Unknown Source:0)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at org.fossify.commons.dialogs.I.onClick(Unknown Source:13)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at i.f.handleMessage(Unknown Source:37)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7839)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
10-21 15:48:28.237 7583 7583 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
btw, this old app has a permission enable helper that works well on my setup: https://apt.izzysoft.de/fdroid/index/apk/com.gigabytedevelopersinc.app.explorer https://github.com/gigabytedevelopers/FireFiles
This happened to me yesterday on my TV (Google). This likely affects all recent Android TVs.