-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
hi,
the app cannot start in a google certified Android 12 TV Box (Dynalink DL-ATV36, aka "wade") if file access permission was not manually granted before startup. it sees the missing permission and tries to pop a UI that does not exist and fails to recover from the event.
10-21 13:21:27.548 3611 4332 I ActivityTaskManager: START u0 {act=android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION dat=package:app.fluffy} from uid 10071
10-21 13:21:27.550 3611 4332 I ActivityTaskManager: START u0 {act=android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION} from uid 10071
10-21 13:21:27.551 8273 8273 D AndroidRuntime: Shutting down VM
10-21 13:21:27.552 8273 8273 E AndroidRuntime: FATAL EXCEPTION: main
10-21 13:21:27.552 8273 8273 E AndroidRuntime: Process: app.fluffy, PID: 8273
10-21 13:21:27.552 8273 8273 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{app.fluffy/app.fluffy.MainActivity}: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION }
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3635)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7839)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION }
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2087)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.Instrumentation.execStartActivity(Instrumentation.java:1747)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5404)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at androidx.activity.ComponentActivity.startActivityForResult(SourceFile:2)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at androidx.activity.ComponentActivity$activityResultRegistry$1.onLaunch(SourceFile:280)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at coil.ImageLoader$Builder.launch(SourceFile:32)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at app.fluffy.MainActivity.requestManageStoragePermission(SourceFile:52)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at app.fluffy.MainActivity.onCreate(SourceFile:73)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8051)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8031)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
10-21 13:21:27.552 8273 8273 E AndroidRuntime: ... 12 more
thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels