SetupWizard: Add Cyanogen services page
Change-Id: I39970b1b659a3a7ed3bb5b4350707aa0e53aba24
This commit is contained in:
@@ -9,9 +9,9 @@ LOCAL_JAVA_LIBRARIES := android.test.runner
|
||||
# Include all test java files.
|
||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||
|
||||
LOCAL_PACKAGE_NAME := CMSetupWizardTests
|
||||
LOCAL_PACKAGE_NAME := CyanogenSetupWizardTests
|
||||
LOCAL_CERTIFICATE := platform
|
||||
|
||||
LOCAL_INSTRUMENTATION_FOR := CMSetupWizard
|
||||
LOCAL_INSTRUMENTATION_FOR := CyanogenSetupWizard
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
@@ -15,7 +15,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources>
|
||||
<string name="app_test">CMSetupWizard Test</string>
|
||||
<string name="app_test">SetupWizard Test</string>
|
||||
<string name="enable_setup">Enable Setup Wizard</string>
|
||||
<string name="enable_google_setup">Enable Google Setup Wizard</string>
|
||||
</resources>
|
||||
|
@@ -51,7 +51,7 @@ public class ManualTestActivity extends Activity {
|
||||
Intent intent = new Intent("android.intent.action.MAIN");
|
||||
intent.addCategory("android.intent.category.HOME");
|
||||
final PackageManager pm = getPackageManager();
|
||||
ComponentName componentName = new ComponentName("com.cyanogenmod.account", "com.cyanogenmod.account.ui.SetupWizardActivity");
|
||||
ComponentName componentName = new ComponentName("com.cyanogenmod.setupwizard", "com.cyanogenmod.setupwizard.ui.SetupWizardActivity");
|
||||
pm.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);
|
||||
componentName = new ComponentName("com.google.android.setupwizard", "com.google.android.setupwizard.SetupWizardActivity");
|
||||
pm.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);
|
||||
|
Reference in New Issue
Block a user