Merge "HULK SMASH! We've gotta declare REL." into sc-dev am: 2a75262a96

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14966105

Change-Id: I77c14028bfff162854deaead9f95e640f0e8c743
This commit is contained in:
Jeff Sharkey
2021-06-15 03:55:00 +00:00
committed by Automerger Merge Worker

View File

@@ -365,6 +365,7 @@ public final class PendingIntent implements Parcelable {
}
if (Compatibility.isChangeEnabled(PENDING_INTENT_EXPLICIT_MUTABILITY_REQUIRED)
&& !"com.google.android.apps.gcs".equals(packageName)
&& !flagImmutableSet && !flagMutableSet) {
String msg = packageName + ": Targeting S+ (version " + Build.VERSION_CODES.S
+ " and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE"