Fixed
Status Update
Comments
il...@google.com <il...@google.com>
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #2
Tentatively, the annotation should be something use-case-specific like @OutlinedNewApi
that allows alternative build systems (e.g. not R8/D8) to make their own decisions. We'll provide a default Proguard configuration for R8, but it's not guaranteed this will work as intended -- outlining is automatic in newer versions, but it may be disabled.
al...@google.com <al...@google.com>
na...@google.com <na...@google.com> #3
Just as an FYI, this was enabled in AGP 2 years ago (AGP 7.3 as far as I remember), ag/18426192, so for AGP users it might fine to just remove the rule for @DoNotInline
. I like the @OutlinedNewApi
to make it clear what this is for other consumers to handle it as they see fit.
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