diff options
| author | Ashwini Oruganti <ashfall@google.com> | 2021-01-06 16:40:56 +0000 |
|---|---|---|
| committer | Ashwini Oruganti <ashfall@google.com> | 2021-01-06 16:40:56 +0000 |
| commit | a4a5d729ae18248b01759410a2ecbdc6973411b0 (patch) | |
| tree | 7896d1837cc316b0fa052132b33e231b68d85eea /core/java | |
| parent | dd12e9c10457665160bf01b12791568942a12dc7 (diff) | |
Revert "Enforce that a PendingIntent has an explicit mutability ..."
Revert "PendingIntentTest: Add tests to check enforced mutabilit..."
Revert submission 13048968-pi-enforce-mutability-flag
Reason for revert: Lots of regressions since merging this, reverting to address those.
Reverted Changes:
If49be6141:Enforce that a PendingIntent has an explicit mutab...
I885d1b558:PendingIntentTest: Add tests to check enforced mut...
Change-Id: I371cef3b423c23736b520ca5c29ee4ff9c51bb33
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/PendingIntent.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/java/android/app/PendingIntent.java b/core/java/android/app/PendingIntent.java index b8b9d9fc4026..9dbf1ff6f7c9 100644 --- a/core/java/android/app/PendingIntent.java +++ b/core/java/android/app/PendingIntent.java @@ -352,9 +352,7 @@ public final class PendingIntent implements Parcelable { if (Compatibility.isChangeEnabled(PENDING_INTENT_EXPLICIT_MUTABILITY_REQUIRED) && !flagImmutableSet && !flagMutableSet) { - Log.wtf(TAG, msg); - throw new IllegalArgumentException( - "Please specify an explicit mutability flag (FLAG_IMMUTABLE or FLAG_MUTABLE)"); + Log.e(TAG, msg); } } |
