SetupWizardTests: Fix setup complete test
Change-Id: I26c1ac062d868e52c94533dae923fa87aa617c13
This commit is contained in:
parent
8f363092bb
commit
bc5b50f1d5
@ -81,7 +81,7 @@ public class ManualTestActivity extends Activity {
|
||||
|
||||
private void setSetupComplete() {
|
||||
Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 1);
|
||||
Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 0);
|
||||
Settings.Global.putInt(getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 0);
|
||||
Intent intent = new Intent("android.intent.action.MAIN");
|
||||
intent.addCategory("android.intent.category.HOME");
|
||||
final PackageManager pm = getPackageManager();
|
||||
|
Loading…
Reference in New Issue
Block a user