* commit '7662f6ea8f7be5f090c6e7a4b7b686a6e5018426': QS WiFi panel trigger settings on correct user
This commit is contained in:
@@ -125,7 +125,7 @@ public class AccessPointControllerImpl implements NetworkController.AccessPointC
|
|||||||
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS);
|
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS);
|
||||||
intent.putExtra(EXTRA_START_CONNECT_SSID, ap.ssid);
|
intent.putExtra(EXTRA_START_CONNECT_SSID, ap.ssid);
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
mContext.startActivity(intent);
|
mContext.startActivityAsUser(intent, new UserHandle(mCurrentUser));
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
WifiConfiguration config = new WifiConfiguration();
|
WifiConfiguration config = new WifiConfiguration();
|
||||||
|
|||||||
Reference in New Issue
Block a user