Notify user switch event to NetworkController

When switching user NetworkController is not notified, as a result
AccessPointController won't be notified, still memorize the previous
userId which causes an unexpected AP list presentation on Wi-Fi Tile.

Improves d8c3ca4316.

Bug:31235488

Change-Id: I171343dc2bcf51df26622244c4f81c48f3736faa
This commit is contained in:
Jay
2016-07-14 16:27:05 +08:00
committed by Tomoharu Hatano
parent a6b6252d8b
commit ca822fa57a

View File

@@ -3468,6 +3468,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
if (mSecurityController != null) {
mSecurityController.onUserSwitched(mCurrentUserId);
}
if (mNetworkController != null) {
mNetworkController.onUserSwitched(mCurrentUserId);
}
}
private void resetUserSetupObserver() {