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

Commit 48781ab1 authored by Joanne Chung's avatar Joanne Chung Committed by Android (Google) Code Review
Browse files

Merge "Use the flag FLAG_MUTABLE when creating the PendingIntent"

parents b45ed91d 5b5f1c0a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -198,8 +198,8 @@ final class SaveUi {
                }
                intent.putExtra(AutofillManager.EXTRA_RESTORE_CROSS_ACTIVITY, true);

                PendingIntent p = PendingIntent.getActivityAsUser(
                        this, /* requestCode= */ 0, intent, /* flags= */ 0, /* options= */ null,
                PendingIntent p = PendingIntent.getActivityAsUser(this, /* requestCode= */ 0,
                        intent, PendingIntent.FLAG_MUTABLE, /* options= */ null,
                        UserHandle.CURRENT);
                if (sDebug) {
                    Slog.d(TAG, "startActivity add save UI restored with intent=" + intent);