diff --git a/res/raw/wizard_script.xml b/res/raw/wizard_script.xml index fab2588b..61e0516d 100644 --- a/res/raw/wizard_script.xml +++ b/res/raw/wizard_script.xml @@ -25,59 +25,59 @@ adb shell am to-intent-uri -a com.android.setupwizard.WELCOME -f 0x10000000 \-\-ez firstRun true --> - - - + + + + + + - - + + - + + + - - + + + + + - - + + + + - - + + - - + - - - - - - - - - - - - + + + + + - - - - + + diff --git a/res/raw/wizard_script_user.xml b/res/raw/wizard_script_user.xml index 0844e2d6..149c5007 100644 --- a/res/raw/wizard_script_user.xml +++ b/res/raw/wizard_script_user.xml @@ -23,50 +23,37 @@ adb shell am to-intent-uri -a com.android.setupwizard.WELCOME -f 0x10000000 \-\-ez firstRun true --> - - - - - - - + + - - + + + + + + - + - - - - - - - - - - + + + + - - - - - - @@ -74,11 +61,8 @@ - - - - - - - + + + + diff --git a/res/values/config.xml b/res/values/config.xml index e2e8c8fa..a6d861b8 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -21,4 +21,6 @@ 0=default sim image, 1=sim on side, 2=sim on back--> 0 true + android.resource://com.cyanogenmod.setupwizard/raw/wizard_script + diff --git a/src/com/cyanogenmod/setupwizard/SetupWizardActivity.java b/src/com/cyanogenmod/setupwizard/SetupWizardActivity.java index c1382355..244f6662 100644 --- a/src/com/cyanogenmod/setupwizard/SetupWizardActivity.java +++ b/src/com/cyanogenmod/setupwizard/SetupWizardActivity.java @@ -44,11 +44,7 @@ public class SetupWizardActivity extends BaseSetupWizardActivity { if (LOGV) { Log.v(TAG, "Has GMS disabling local wizard manager"); } - Intent intent = new Intent("android.intent.action.MAIN"); - intent.addCategory("android.intent.category.HOME"); SetupWizardUtils.disableComponentsForGMS(this); - intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); - startActivity(intent); finish(); } else { onSetupStart();