Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
If the issue is caused by an app and not a platform issue, we will do our best to route the issue to the app developer. However, note that it is up to the app developer to actually address reported issues.
Before logging your issue, check to see whether it is a known issue described in the current release notes at:
or has already been reported at:
If the issue has already been reported, you can "star" or comment on the existing report if it corresponds to the issue you are seeing.
To expedite resolution of your issue, please provide as much relevant and specific information as possible. This will probably require some work from you. Most reports should include at least the following:
* Are you an Android developer?" Y
* Which Android Developer Preview build are you using? See Settings > About phone > Build number (for example TPB3.220624.005). sdk_gphone64_arm64-userdebug UpsideDownCake UPB2.230407.019 10170211 dev-keys
* Is this a regression from Android 13 to 14? Android 14
* What device are you using? Android Emulator
* What are the steps to reproduce the problem? (Please provide the minimal reproducible test case.)
* Issue Category? Framework (platform)
* What was the expected result? As the document said (
1) Starting the pending intent of background activity "is disallowed" ex) from the notification
2) If binding from an app that is visible, the bound service "is disallowed" to start an activity from the background.
* Can you provide the API document where this expected behavior is explained?
1)
2)
3)
* What was the actual result?
1) Starting the pending intent of background activity "is allowed"
2) If binding from an app that is visible, the bound service "is allowed" to start an activity from the background.
----
After I updated targetSdkVersion to Android 14, I think it has to be denied to start an activity from the notification, but It is working well.
And bound service from the visible application can start the activity too. My understanding doesn't right?
Please check the sample codes I wrote -
What case �do I need to use `ActivityOptions#MODE_BACKGROUND_ACTIVITY_START_ALLOWED`, `Context#BIND_ALLOW_ACTIVITY_STARTS`? Are there sample codes for actual cases?