From ce777171fce4911f383e838d9019d84520426456 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Sat, 18 Aug 2012 22:13:07 -0700 Subject: [PATCH] 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 --- services/java/com/android/server/WallpaperManagerService.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/java/com/android/server/WallpaperManagerService.java b/services/java/com/android/server/WallpaperManagerService.java index 1d248b280b73d..afd7d0eb72b0c 100644 --- a/services/java/com/android/server/WallpaperManagerService.java +++ b/services/java/com/android/server/WallpaperManagerService.java @@ -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(