Skip to content

Commit ce77717

Browse files
author
Amith Yamasani
committed
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
1 parent f337a89 commit ce77717

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

services/java/com/android/server/WallpaperManagerService.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -768,10 +768,6 @@ boolean bindWallpaperComponentLocked(ComponentName componentName, boolean force,
768768
WallpaperConnection newConn = new WallpaperConnection(wi, wallpaper);
769769
intent.setComponent(componentName);
770770
int serviceUserId = wallpaper.userId;
771-
// Because the image wallpaper is running in the system ui
772-
if (componentName.equals(wallpaper.imageWallpaperComponent)) {
773-
serviceUserId = 0;
774-
}
775771
intent.putExtra(Intent.EXTRA_CLIENT_LABEL,
776772
com.android.internal.R.string.wallpaper_binding_label);
777773
intent.putExtra(Intent.EXTRA_CLIENT_INTENT, PendingIntent.getActivity(

0 commit comments

Comments
 (0)