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

Commit 985f7b1d authored by Chris Tate's avatar Chris Tate Committed by Android (Google) Code Review
Browse files

Merge "Make WallpaperMS bind wallpaper component PendingIntent immutable." into qt-qpr1-dev

parents b3069d38 3c21166a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2709,7 +2709,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