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

Commit f75396d3 authored by wilsonshih's avatar wilsonshih Committed by Automerger Merge Worker
Browse files

Make WallpaperMS bind wallpaper component PendingIntent immutable. am: b3929030

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12718696

Change-Id: I657d45a8a9358ae644cb074804242184f306292a
parents 9d817300 b3929030
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2104,7 +2104,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub {
                    mContext, 0,
                    Intent.createChooser(new Intent(Intent.ACTION_SET_WALLPAPER),
                            mContext.getText(com.android.internal.R.string.chooser_wallpaper)),
                    0, null, new UserHandle(serviceUserId)));
                    PendingIntent.FLAG_IMMUTABLE, null, new UserHandle(serviceUserId)));
            if (!mContext.bindServiceAsUser(intent, newConn,
                    Context.BIND_AUTO_CREATE | Context.BIND_SHOWING_UI
                            | Context.BIND_FOREGROUND_SERVICE_WHILE_AWAKE,