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

Commit 68b420ff authored by Bernardo Rufino's avatar Bernardo Rufino
Browse files

Log.wtf -> Slog.wtf to avoid crash for BLOCK_MUTABLE_IMPLICIT_PENDING_INTENT

Seems like checkin sets WTF_IS_FATAL to 1 http://google3/wireless/android/production/checkin_config/android.config;l=2566-2580;rcl=495711310, which together with ag/20580416 is breaking SUW corp flow.

Bug: 263060871
Change-Id: I5f62264420bf4f1222a9e3fd94348a942f864b5a
parent 152f1c5c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ import android.util.AndroidException;
import android.util.ArraySet;
import android.util.Log;
import android.util.Pair;
import android.util.Slog;
import android.util.proto.ProtoOutputStream;

import com.android.internal.annotations.GuardedBy;
@@ -427,7 +428,7 @@ public final class PendingIntent implements Parcelable {
                        + " PendingIntent, use FLAG_NO_CREATE, however, to create a"
                        + " new PendingIntent with an implicit Intent use"
                        + " FLAG_IMMUTABLE.";
                Log.wtfStack(TAG, msg);
                Slog.wtfStack(TAG, msg);
            } else {
                String msg = "New mutable implicit PendingIntent: pkg=" + packageName
                        + ", action=" + intent.getAction()