Fixed
Status Update
Comments
il...@google.com <il...@google.com>
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 9947289f04b47b4297790023b9e2856060d46e37
Author: Alan Viverette <alanv@google.com>
Date: Mon Jul 01 13:12:50 2024
Add compat method for ActivityOptions.setPendingIntentBackgroundActivityStartMode
Relnote: Add compat method for ActivityOptions.setPendingIntentBackgroundActivityStartMode
Bug: 349617674
Test: ActivityOptionsCompatTest
Change-Id: I3ba1f4174f3a098e64aa255db50567bd76e3fbe5
M core/core/api/current.txt
M core/core/api/restricted_current.txt
M core/core/src/main/java/androidx/core/app/ActivityOptionsCompat.java
A core/core/src/test/java/androidx/core/app/ActivityOptionsCompatTest.kt
https://android-review.googlesource.com/3155391
Branch: androidx-main
commit 9947289f04b47b4297790023b9e2856060d46e37
Author: Alan Viverette <alanv@google.com>
Date: Mon Jul 01 13:12:50 2024
Add compat method for ActivityOptions.setPendingIntentBackgroundActivityStartMode
Relnote: Add compat method for ActivityOptions.setPendingIntentBackgroundActivityStartMode
Bug: 349617674
Test: ActivityOptionsCompatTest
Change-Id: I3ba1f4174f3a098e64aa255db50567bd76e3fbe5
M core/core/api/current.txt
M core/core/api/restricted_current.txt
M core/core/src/main/java/androidx/core/app/ActivityOptionsCompat.java
A core/core/src/test/java/androidx/core/app/ActivityOptionsCompatTest.kt
al...@google.com <al...@google.com>
na...@google.com <na...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.core:core:1.15.0-alpha02
Description
The ActivityOptionsCompat class is missing a backport of the setPendingIntentBackgroundActivityStartMode which is necessary when targeting Android 14 .
On Android 13 it could fallback to the deprecated setPendingIntentBackgroundActivityLaunchAllowed , and on lower versions be a no-op.
See source code:https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:core/core/src/main/java/androidx/core/app/ActivityOptionsCompat.java
Component used: androidx.core:core
Version used: 1.9.0