Only modify network settings on system user
Captive portal, wi-fi and mobile data should not be modified for secondary users without user intervention Issue: calyxos#1025 Change-Id: Ic24d18268d05b5a1535b3993bdd0a614055847f6
This commit is contained in:
committed by
Michael Bestas
parent
8e8329a05c
commit
0002daed48
@@ -312,8 +312,10 @@ public abstract class BaseSetupWizardActivity extends Activity implements Naviga
|
||||
}
|
||||
|
||||
protected void onSetupStart() {
|
||||
SetupWizardUtils.disableCaptivePortalDetection(getApplicationContext());
|
||||
tryEnablingWifi();
|
||||
if (SetupWizardUtils.isOwner()) {
|
||||
SetupWizardUtils.disableCaptivePortalDetection(getApplicationContext());
|
||||
tryEnablingWifi();
|
||||
}
|
||||
}
|
||||
|
||||
protected void exitIfSetupComplete() {
|
||||
|
Reference in New Issue
Block a user