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

Commit ce777171 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fixed static wallpaper for multi-user

Earlier assumption that systemui was running in the system process
does not hold true, so running static wallpaper in its own user
sandbox.

Bug: 7008230
Change-Id: I32a128e6bbd8efa7006286330e970bafcf37f05a
parent f337a89b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -768,10 +768,6 @@ class WallpaperManagerService extends IWallpaperManager.Stub {
            WallpaperConnection newConn = new WallpaperConnection(wi, wallpaper);
            intent.setComponent(componentName);
            int serviceUserId = wallpaper.userId;
            // Because the image wallpaper is running in the system ui
            if (componentName.equals(wallpaper.imageWallpaperComponent)) {
                serviceUserId = 0;
            }
            intent.putExtra(Intent.EXTRA_CLIENT_LABEL,
                    com.android.internal.R.string.wallpaper_binding_label);
            intent.putExtra(Intent.EXTRA_CLIENT_INTENT, PendingIntent.getActivity(