Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broadcast receiver can't start AuthorizationActivity on Android 13 #194

Open
Zimbelstern opened this issue Apr 14, 2023 · 0 comments
Open

Comments

@Zimbelstern
Copy link

Since at least Android 13 (probably since Q), the system prevents the start of activities from background.
This means that the broadcast receiver can not start AuthorizationActivity and the user can not give permission to start sharing from a source.

ActivityTaskManager system_server I START u0 {flg=0x10000000 cmp=info.varden.hauk/.global.ui.AuthorizationActivity (has extras)} from uid 10191
ActivityTaskManager system_server W Background activity start [callingPackage: info.varden.hauk; callingUid: 10191; appSwitchState: 1; isCallingUidForeground: false; callingUidHasAnyVisibleWindow: false; callingUidProcState: RECEIVER; isCallingUidPersistentSystemProcess: false; realCallingUid: 10191; isRealCallingUidForeground: false; realCallingUidHasAnyVisibleWindow: false; realCallingUidProcState: RECEIVER; isRealCallingUidPersistentSystemProcess: false; originatingPendingIntent: null; allowBackgroundActivityStart: false; intent: Intent { flg=0x10000000 cmp=info.varden.hauk/.global.ui.AuthorizationActivity (has extras) }; callerApp: ProcessRecord{25a96c7 8548:info.varden.hauk/u0a191}; inVisibleTask: false]
ActivityTaskManager system_server E Abort background activity starts from 10191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant