diff --git a/core/java/android/app/PendingIntent.java b/core/java/android/app/PendingIntent.java index f4b95420154b6..4cf3a8059b3e4 100644 --- a/core/java/android/app/PendingIntent.java +++ b/core/java/android/app/PendingIntent.java @@ -379,8 +379,7 @@ public final class PendingIntent implements Parcelable { if (Compatibility.isChangeEnabled(PENDING_INTENT_EXPLICIT_MUTABILITY_REQUIRED) && !flagImmutableSet && !flagMutableSet) { - //TODO(b/178065720) Remove check for chrome and enforce this requirement - if (packageName.equals("com.android.chrome") || mInstrumentation.isInstrumenting()) { + if (mInstrumentation.isInstrumenting()) { Log.e(TAG, msg); } else { throw new IllegalArgumentException(msg);