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

Commit 7960b206 authored by Achim Thesmann's avatar Achim Thesmann Committed by Android (Google) Code Review
Browse files

Merge "Explictly Grant Background Activity Launch permission."

parents a4e2bc84 35c1fb3a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3154,8 +3154,9 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
                }
            }

            final ActivityOptions clientOptions = ActivityOptions.makeBasic();
            clientOptions.setIgnorePendingIntentCreatorForegroundState(true);
            final ActivityOptions clientOptions = ActivityOptions.makeBasic()
                    .setPendingIntentCreatorBackgroundActivityStartMode(
                            ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_DENIED);
            PendingIntent clientIntent = PendingIntent.getActivityAsUser(
                    mContext, 0, Intent.createChooser(
                            new Intent(Intent.ACTION_SET_WALLPAPER),