Skip to content

Commit 2284c36

Browse files
Amith YamasaniAndroid (Google) Code Review
authored andcommitted
Merge "Fixed static wallpaper for multi-user" into jb-mr1-dev
2 parents 6764582 + ce77717 commit 2284c36

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)