Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java +21 −6 Original line number Diff line number Diff line Loading @@ -415,21 +415,36 @@ public class PhoneStatusBarPolicy implements Callback, RotationLockController.Ro new SynchronousUserSwitchObserver() { @Override public void onUserSwitching(int newUserId) throws RemoteException { mHandler.post(new Runnable() { @Override public void run() { mUserInfoController.reloadUserInfo(); } }); } @Override public void onUserSwitchComplete(int newUserId) throws RemoteException { mHandler.post(new Runnable() { @Override public void run() { updateAlarm(); profileChanged(newUserId); updateQuietState(); updateManagedProfile(); } }); } @Override public void onForegroundProfileSwitch(int newProfileId) { mHandler.post(new Runnable() { @Override public void run() { profileChanged(newProfileId); } }); } }; private final HotspotController.Callback mHotspotCallback = new HotspotController.Callback() { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java +21 −6 Original line number Diff line number Diff line Loading @@ -415,21 +415,36 @@ public class PhoneStatusBarPolicy implements Callback, RotationLockController.Ro new SynchronousUserSwitchObserver() { @Override public void onUserSwitching(int newUserId) throws RemoteException { mHandler.post(new Runnable() { @Override public void run() { mUserInfoController.reloadUserInfo(); } }); } @Override public void onUserSwitchComplete(int newUserId) throws RemoteException { mHandler.post(new Runnable() { @Override public void run() { updateAlarm(); profileChanged(newUserId); updateQuietState(); updateManagedProfile(); } }); } @Override public void onForegroundProfileSwitch(int newProfileId) { mHandler.post(new Runnable() { @Override public void run() { profileChanged(newProfileId); } }); } }; private final HotspotController.Callback mHotspotCallback = new HotspotController.Callback() { Loading