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

Use FLAG_IMMUTABLE instead of FLAG_MUTABLE for ActivityScenario pending implicit intents. #2205

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Apr 25, 2024

Use FLAG_IMMUTABLE instead of FLAG_MUTABLE for ActivityScenario pending implicit intents.

This fixes using ActivityScenario#launchActivityForResult with an implicit Intent
when targetSdk = 34.

Fixes #2193

@copybara-service copybara-service bot changed the title Add a test that attempts to repro #2193 Use FLAG_IMMUTABLE instead of FLAG_MUTABLE for ActivityScenario pending implicit intents. Apr 26, 2024
…ng implicit intents.

This fixes using ActivityScenario#launchActivityForResult with an implicit Intent
when targetSdk = 34.

Fixes #2193

PiperOrigin-RevId: 628490334
@copybara-service copybara-service bot merged commit 37c5fb8 into main Apr 26, 2024
@copybara-service copybara-service bot deleted the piper_628194870 branch April 26, 2024 20:13
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

Successfully merging this pull request may close these issues.

Can't start implicit Intent from ActivityScenario#launchActivityForResult when targeting API 34
1 participant