diff --git a/Android.mk b/Android.mk index f4947d7c..be20b35d 100644 --- a/Android.mk +++ b/Android.mk @@ -5,9 +5,10 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_MODULE_TAGS := optional -LOCAL_PACKAGE_NAME := CyanogenSetupWizard +LOCAL_PACKAGE_NAME := LineageSetupWizard LOCAL_CERTIFICATE := platform LOCAL_PRIVILEGED_MODULE := true +LOCAL_OVERRIDES_PACKAGES := Provision LOCAL_PROGUARD_FLAG_FILES := proguard.flags diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 2a5070cc..a96fbd38 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,6 +1,7 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/exit_wizard.sh b/exit_wizard.sh new file mode 100755 index 00000000..da9b0866 --- /dev/null +++ b/exit_wizard.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +adb root +wait ${!} +adb shell pm enable com.cyanogenmod.setupwizard/com.cyanogenmod.setupwizard.SetupWizardExitActivity || true +wait ${!} +adb shell pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardExitActivity || true +wait ${!} +sleep 1 +adb shell am start com.cyanogenmod.setupwizard/com.cyanogenmod.setupwizard.SetupWizardExitActivity || true +wait ${!} +sleep 1 +adb shell am start com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardExitActivity diff --git a/res/anim/slide_left.xml b/res/anim/slide_left.xml deleted file mode 100644 index ddc679c1..00000000 --- a/res/anim/slide_left.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - diff --git a/res/anim/slide_right.xml b/res/anim/slide_right.xml deleted file mode 100644 index 4b2bdf55..00000000 --- a/res/anim/slide_right.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - diff --git a/res/layout-land/setup_locale.xml b/res/layout-land/setup_locale.xml deleted file mode 100644 index fd3d1aab..00000000 --- a/res/layout-land/setup_locale.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - diff --git a/res/layout-land/setup_welcome_page.xml b/res/layout-land/setup_welcome_page.xml deleted file mode 100644 index 3cdd08b8..00000000 --- a/res/layout-land/setup_welcome_page.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - diff --git a/res/layout/button_bar.xml b/res/layout/button_bar.xml deleted file mode 100644 index 8b8256d5..00000000 --- a/res/layout/button_bar.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - -