From 30bb1d09eb43bc2cc321f99621423ca253a7b6d4 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Tue, 15 Jun 2021 03:57:02 +0000 Subject: [PATCH] Revert "HULK SMASH! We've gotta declare REL." This reverts commit 90153d67e008795711ccd286f06237ef123f60d3. Reason for revert: Temporary fix no longer needed; this was only added until an updated prebuilt for the referenced package was merged Bug: 171506470 Test: none Change-Id: Ibd3fec1d2ecd505693b4cf89ee8323eb8a50a604 --- core/java/android/app/PendingIntent.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/java/android/app/PendingIntent.java b/core/java/android/app/PendingIntent.java index e68eb7471e420..0136a35e3975b 100644 --- a/core/java/android/app/PendingIntent.java +++ b/core/java/android/app/PendingIntent.java @@ -365,7 +365,6 @@ 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"