diff options
author | Amith Yamasani <yamasani@google.com> | 2014-08-22 09:27:25 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2014-08-22 13:00:22 -0700 |
commit | 7805a10c86a2de9fb5ddf41d63075eef342a59ea (patch) | |
tree | 7738ac612f111f3841ed25ccf71a7990056e7767 /packages | |
parent | 9edf297055b4fbc5d5f6dacc469fa87fc1cb5370 (diff) | |
download | frameworks_base-7805a10c86a2de9fb5ddf41d63075eef342a59ea.zip frameworks_base-7805a10c86a2de9fb5ddf41d63075eef342a59ea.tar.gz frameworks_base-7805a10c86a2de9fb5ddf41d63075eef342a59ea.tar.bz2 |
Show a user switching dialog before starting the user switch
switchUser() now first shows a dialog and the dialog calls
startUserInForeground to do the actual switch.
Bug: 16661752
Change-Id: Ie4e2e9eec8bf7c2116694072ea8555b8254a0e13
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java index 735fbfc..adb71e7 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java @@ -246,7 +246,6 @@ public class UserSwitcherController { private void switchToUserId(int id) { try { - WindowManagerGlobal.getWindowManagerService().lockNow(null); ActivityManagerNative.getDefault().switchUser(id); } catch (RemoteException e) { Log.e(TAG, "Couldn't switch user.", e); |