HULK SMASH! We've gotta declare REL.

Bug: 171506470
Test: none
Change-Id: I22d317f873abf22586d9907fbc22330639d5e773
This commit is contained in:
Jeff Sharkey
2021-06-14 15:27:30 -06:00
parent c030fb121b
commit 90153d67e0

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"