Skip to content

[Bug] "Shizuku Required" notification doesn't open Shizuku #406

@keysmashes

Description

@keysmashes

Description

Tapping the notification (which says "tap to open") doesn't actually manage to open Shizuku.

I suspect this issue might be masked if Smartspacer has accessibility permissions: https://developer.android.com/guide/components/activities/background-starts#exceptions

Apps running on Android 10 or higher can start activities when one or more of the following conditions are met:

  • The app has one of the following services that is bound by the system. These services might need to launch a UI.

Relevant logcat:

02-04 19:41:46.168  1849  2032 E NotificationService: Indirect notification activity start (trampoline) from com.kieronquinn.app.smartspacer blocked
02-04 19:41:46.168  1849  2032 E NotificationService: Indirect notification activity start (trampoline) from com.kieronquinn.app.smartspacer blocked
02-04 19:41:46.172  1849  2032 E ActivityTaskManager: Background activity launch blocked! goo.gle/android-bal [callingPackage: com.kieronquinn.app.smartspacer; callingPackageTargetSdk: 35; callingUid: 10440; callingPid: 4349; appSwitchState: 2; callingUidHasVisibleActivity: false; callingUidHasVisibleNotPinnedActivity
: false; callingUidHasNonAppVisibleWindow: false; callingUidProcState: BOUND_FOREGROUND_SERVICE; isCallingUidPersistentSystemProcess: false; allowBalExemptionForSystemProcess: false; intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 xflg=0x4 pkg=moe.shizuku.privilege
d.api cmp=moe.shizuku.privileged.api/moe.shizuku.manager.MainActivity }; callerApp: ProcessRecord{e3412a1 4349:com.kieronquinn.app.smartspacer/u0a440}; inVisibleTask: false; balAllowedByPiCreator: BSP.ALLOW_BAL; resultIfPiCreatorAllowsBal: BAL_BLOCK; callerStartMode: MODE_BACKGROUND_ACTIVITY_START_SYSTEM_DEFINED; hasR
ealCaller: true; isCallForResult: false; isPendingIntent: false; autoOptInReason: notPendingIntent; realCallingPackage: com.kieronquinn.app.smartspacer; realCallingPackageTargetSdk: 35; realCallingUid: 10440; realCallingPid: 4349; realCallingUidHasVisibleActivity: false; realCallingUidHasVisibleNotPinnedActivity: fals
e; realCallingUidHasNonAppVisibleWindow: false; realCallingUidProcState: BOUND_FOREGROUND_SERVICE; isRealCallingUidPersistentSystemProcess: false; originatingPendingIntent: null; realCallerApp: ProcessRecord{e3412a1 4349:com.kieronquinn.app.smartspacer/u0a440}; realInVisibleTask: false; balAllowedByPiSender: BSP.ALLOW
_BAL; resultIfPiSenderAllowsBal: BAL_BLOCK; realCallerStartMode: MODE_BACKGROUND_ACTIVITY_START_SYSTEM_DEFINED; balDontBringExistingBackgroundTaskStackToFg: true]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions