SUW: rebrand step 2: update file contents
Change-Id: Ic04f03f82242608960bd6d9c4c2561c2bbdda1da
This commit is contained in:
committed by
Abhisek Devkota
parent
fbae0863a6
commit
c83309e963
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.cyanogenmod.setupwizard.tests;
|
||||
package org.lineageos.setupwizard.tests;
|
||||
|
||||
|
||||
import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
|
||||
@@ -45,7 +45,7 @@ public class ManualTestActivity extends Activity {
|
||||
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.cmaccount_test);
|
||||
setContentView(R.layout.setupwizard_test);
|
||||
|
||||
findViewById(R.id.enable_setup).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
@@ -73,7 +73,7 @@ public class ManualTestActivity extends Activity {
|
||||
Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 0);
|
||||
final Intent intent = new Intent("android.intent.action.MAIN");
|
||||
intent.addCategory("android.intent.category.HOME");
|
||||
resetComponentSets("com.cyanogenmod.setupwizard", GET_ACTIVITIES |
|
||||
resetComponentSets("org.lineageos.setupwizard", GET_ACTIVITIES |
|
||||
GET_RECEIVERS | GET_SERVICES | MATCH_DISABLED_COMPONENTS);
|
||||
resetComponentSets("com.google.android.setupwizard", GET_ACTIVITIES |
|
||||
GET_RECEIVERS | GET_SERVICES | MATCH_DISABLED_COMPONENTS);
|
||||
@@ -109,7 +109,7 @@ public class ManualTestActivity extends Activity {
|
||||
Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 1);
|
||||
Intent intent = new Intent("android.intent.action.MAIN");
|
||||
intent.addCategory("android.intent.category.HOME");
|
||||
disableComponentSets("com.cyanogenmod.setupwizard", GET_ACTIVITIES |
|
||||
disableComponentSets("org.lineageos.setupwizard", GET_ACTIVITIES |
|
||||
GET_RECEIVERS | GET_SERVICES);
|
||||
try {
|
||||
disableComponentSets("com.google.android.setupwizard", GET_ACTIVITIES |
|
||||
@@ -179,4 +179,4 @@ public class ManualTestActivity extends Activity {
|
||||
return componentNames;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user