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

Commit 5d6da523 authored by Kevin Chyn's avatar Kevin Chyn Committed by Android (Google) Code Review
Browse files

Merge "Make PendingIntent immutable"

parents b5deca62 34638832
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -198,10 +198,8 @@ class FaceAuthenticationClient extends AuthenticationClient<IBiometricsFace> {
            final Intent intent = new Intent("android.settings.FACE_SETTINGS");
            intent.setPackage("com.android.settings");

            // TODO(b/174187097) Please replace FLAG_MUTABLE_UNAUDITED below
            // with either FLAG_IMMUTABLE (recommended) or FLAG_MUTABLE.
            final PendingIntent pendingIntent = PendingIntent.getActivityAsUser(getContext(),
                    0 /* requestCode */, intent, PendingIntent.FLAG_MUTABLE_UNAUDITED /* flags */,
                    0 /* requestCode */, intent, PendingIntent.FLAG_IMMUTABLE /* flags */,
                    null /* options */, UserHandle.CURRENT);

            final String channelName = "FaceEnrollNotificationChannel";