QS WiFi panel trigger settings on correct user

Bug: 18900000
Change-Id: I67e234eb6300dd05f950f174107b6a28867af7a2
This commit is contained in:
Jason Monk
2015-01-05 12:05:24 -05:00
parent 6cfb44952a
commit 85eec267dd

View File

@@ -125,7 +125,7 @@ public class AccessPointControllerImpl implements NetworkController.AccessPointC
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS);
intent.putExtra(EXTRA_START_CONNECT_SSID, ap.ssid);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
mContext.startActivity(intent);
mContext.startActivityAsUser(intent, new UserHandle(mCurrentUser));
return true;
} else {
WifiConfiguration config = new WifiConfiguration();