Skip to content

Error: Activity start ONLY allowed by BAL_ALLOW_NON_APP_VISIBLE_WINDOW realCallingUid has non-app visible window #197

Open
@hossain-khan

Description

@hossain-khan

Happens when notification is clicked.

Activity start ONLY allowed by BAL_ALLOW_NON_APP_VISIBLE_WINDOW realCallingUid has non-app visible window {2000=1, 2024=2, 2040=1}: [callingPackage: dev.hossain.weatheralert; callingPackageTargetSdk: 35; callingUid: 10231; callingPid: -1; appSwitchState: 2; callingUidHasVisibleActivity: false; callingUidHasNonAppVisibleWindow: false; callingUidProcState: CACHED_ACTIVITY; isCallingUidPersistentSystemProcess: false; allowBalExemptionForSystemProcess: true; intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10008000 pkg=dev.hossain.weatheralert cmp=dev.hossain.weatheralert/.MainActivity }; callerApp: null; balAllowedByPiCreator: BSP.NONE; balAllowedByPiCreatorWithHardening: BSP.NONE; resultIfPiCreatorAllowsBal: BAL_BLOCK; callerStartMode: MODE_BACKGROUND_ACTIVITY_START_SYSTEM_DEFINED; hasRealCaller: true; isCallForResult: false; isPendingIntent: true; autoOptInReason: null; realCallingPackage: com.android.systemui; realCallingPackageTargetSdk: 10000; realCallingUid: 10182; realCallingPid: 879; realCallingUidHasVisibleActivity: false; realCallingUidHasNonAppVisibleWindow: true; realCallingUidProcState: PERSISTENT_UI; isRealCallingUidPersistentSystemProcess: true; originatingPendingIntent: PendingIntentRecord{9ccc35 dev.hossain.weatheralert startActivity (allowlist: 8d3b92:+30s0ms/0/NOTIFICATION_SERVICE/NotificationManagerService)}; realCallerApp: ProcessRecord{90b869b 879:com.android.systemui/u0a182}; realInVisibleTask: false; balAllowedByPiSender: BSP.ALLOW_BAL; resultIfPiSenderAllowsBal: BAL_ALLOW_NON_APP_VISIBLE_WINDOW; realCallerStartMode: MODE_BACKGROUND_ACTIVITY_START_ALLOWED; balRequireOptInByPendingIntentCreator: true; balDontBringExistingBackgroundTaskStackToFg: true]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions