Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e8ae00d authored by Ashwini Oruganti's avatar Ashwini Oruganti Committed by Android (Google) Code Review
Browse files

Merge "Revert "Enforce that a PendingIntent has an explicit mutability ...""

parents dd0180a1 a4a5d729
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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);
        }
    }