summaryrefslogtreecommitdiffstats
path: root/tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java')
-rw-r--r--tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java b/tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java
index dd293a9..3b4f08b 100644
--- a/tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java
+++ b/tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java
@@ -66,6 +66,10 @@ public class ManualTestActivity extends Activity {
"com.cyanogenmod.setupwizard.ui.SetupWizardActivity");
pm.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
PackageManager.DONT_KILL_APP);
+ componentName = new ComponentName("com.cyanogenmod.setupwizard",
+ "com.cyanogenmod.setupwizard.setup.FinishSetupReceiver");
+ pm.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
+ PackageManager.DONT_KILL_APP);
pm.clearApplicationUserData("com.cyanogenmod.setupwizard", null);
ActivityManager am = (ActivityManager) getSystemService(Activity.ACTIVITY_SERVICE);
am.killBackgroundProcesses("com.cyanogenmod.setupwizard");