Skip to content

Commit 77007ac

Browse files
Amith YamasaniAndroid Git Automerger
authored andcommitted
am a07d047: Merge "Don\'t clean up wallpaper map entry when stopping a user." into jb-mr1-dev
* commit 'a07d047f34b28fdf7b3b342ceb31c8c982b24fd8': Don't clean up wallpaper map entry when stopping a user.
2 parents a0a230a + a07d047 commit 77007ac

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,13 @@ public void onReceive(Context context, Intent intent) {
466466
if (Intent.ACTION_USER_REMOVED.equals(action)) {
467467
onRemoveUser(intent.getIntExtra(Intent.EXTRA_USER_HANDLE,
468468
UserHandle.USER_NULL));
469-
} else if (Intent.ACTION_USER_STOPPING.equals(action)) {
470-
onStoppingUser(intent.getIntExtra(Intent.EXTRA_USER_HANDLE,
471-
UserHandle.USER_NULL));
472469
}
470+
// TODO: Race condition causing problems when cleaning up on stopping a user.
471+
// Comment this out for now.
472+
// else if (Intent.ACTION_USER_STOPPING.equals(action)) {
473+
// onStoppingUser(intent.getIntExtra(Intent.EXTRA_USER_HANDLE,
474+
// UserHandle.USER_NULL));
475+
// }
473476
}
474477
}, userFilter);
475478

0 commit comments

Comments
 (0)