Skip to content

Commit c83309e

Browse files
mikeNGciwrl
authored andcommitted
SUW: rebrand step 2: update file contents
Change-Id: Ic04f03f82242608960bd6d9c4c2561c2bbdda1da
1 parent fbae086 commit c83309e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+200
-214
lines changed

AndroidManifest.xml

+20-20
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
-->
1818
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
1919
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
20-
package="com.cyanogenmod.setupwizard"
20+
package="org.lineageos.setupwizard"
2121
android:versionCode="5"
2222
android:sharedUserId="android.uid.system">
2323

@@ -41,16 +41,16 @@
4141
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
4242
<uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" />
4343
<uses-permission android:name="android.permission.BACKUP" />
44-
<uses-permission android:name="cyanogenmod.permission.FINISH_SETUP" />
44+
<uses-permission android:name="lineageos.permission.FINISH_SETUP" />
4545
<uses-permission android:name="lineageos.permission.WRITE_SETTINGS" />
4646
<uses-permission android:name="lineageos.permission.WRITE_SECURE_SETTINGS" />
4747

4848
<permission
49-
android:name="cyanogenmod.permission.FINISH_SETUP"
49+
android:name="lineageos.permission.FINISH_SETUP"
5050
android:protectionLevel="signatureOrSystem" />
5151

52-
<protected-broadcast android:name="com.cyanogenmod.setupwizard.SETUP_FINISHED"
53-
android:permission="cyanogenmod.permission.FINISH_SETUP"/>
52+
<protected-broadcast android:name="org.lineageos.setupwizard.SETUP_FINISHED"
53+
android:permission="lineageos.permission.FINISH_SETUP"/>
5454

5555
<application android:label="@string/app_name"
5656
android:icon="@mipmap/ic_launcher"
@@ -99,7 +99,7 @@
9999
android:immersive="true"
100100
android:windowSoftInputMode="stateAlwaysHidden">
101101
<intent-filter>
102-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
102+
<action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
103103
<category android:name="android.intent.category.DEFAULT" />
104104
</intent-filter>
105105
</activity>
@@ -111,7 +111,7 @@
111111
android:immersive="true"
112112
android:windowSoftInputMode="stateAlwaysHidden">
113113
<intent-filter>
114-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_WELCOME" />
114+
<action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" />
115115
<category android:name="android.intent.category.DEFAULT" />
116116
</intent-filter>
117117
</activity>
@@ -123,7 +123,7 @@
123123
android:immersive="true"
124124
android:windowSoftInputMode="stateAlwaysHidden">
125125
<intent-filter>
126-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_LOCALE" />
126+
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" />
127127
<category android:name="android.intent.category.DEFAULT" />
128128
</intent-filter>
129129
</activity>
@@ -135,7 +135,7 @@
135135
android:immersive="true"
136136
android:windowSoftInputMode="stateAlwaysHidden">
137137
<intent-filter>
138-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_DATETIME" />
138+
<action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" />
139139
<category android:name="android.intent.category.DEFAULT" />
140140
</intent-filter>
141141
</activity>
@@ -148,7 +148,7 @@
148148
android:exported="false"
149149
android:windowSoftInputMode="stateAlwaysHidden">
150150
<intent-filter>
151-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_WIFI_SETUP" />
151+
<action android:name="org.lineageos.setupwizard.LINEAGE_WIFI_SETUP" />
152152
<category android:name="android.intent.category.DEFAULT" />
153153
</intent-filter>
154154
</activity>
@@ -161,7 +161,7 @@
161161
android:exported="false"
162162
android:windowSoftInputMode="stateAlwaysHidden">
163163
<intent-filter>
164-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" />
164+
<action android:name="org.lineageos.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" />
165165
<category android:name="android.intent.category.DEFAULT" />
166166
</intent-filter>
167167
</activity>
@@ -174,7 +174,7 @@
174174
android:exported="false"
175175
android:windowSoftInputMode="stateAlwaysHidden">
176176
<intent-filter>
177-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_SIM_MISSING" />
177+
<action android:name="org.lineageos.setupwizard.LINEAGE_SIM_MISSING" />
178178
<category android:name="android.intent.category.DEFAULT" />
179179
</intent-filter>
180180
</activity>
@@ -187,7 +187,7 @@
187187
android:exported="false"
188188
android:windowSoftInputMode="stateAlwaysHidden">
189189
<intent-filter>
190-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_CHOOSE_DATA_SIM" />
190+
<action android:name="org.lineageos.setupwizard.LINEAGE_CHOOSE_DATA_SIM" />
191191
<category android:name="android.intent.category.DEFAULT" />
192192
</intent-filter>
193193
</activity>
@@ -200,7 +200,7 @@
200200
android:exported="false"
201201
android:windowSoftInputMode="stateAlwaysHidden">
202202
<intent-filter>
203-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_ENABLE_MOBILE_DATA" />
203+
<action android:name="org.lineageos.setupwizard.LINEAGE_ENABLE_MOBILE_DATA" />
204204
<category android:name="android.intent.category.DEFAULT" />
205205
</intent-filter>
206206
</activity>
@@ -213,7 +213,7 @@
213213
android:exported="false"
214214
android:windowSoftInputMode="stateAlwaysHidden">
215215
<intent-filter>
216-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_LOCATION_SETTINGS" />
216+
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS" />
217217
<category android:name="android.intent.category.DEFAULT" />
218218
</intent-filter>
219219
</activity>
@@ -225,7 +225,7 @@
225225
android:immersive="true"
226226
android:windowSoftInputMode="stateAlwaysHidden">
227227
<intent-filter>
228-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_SETTINGS" />
228+
<action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
229229
<category android:name="android.intent.category.DEFAULT" />
230230
</intent-filter>
231231
</activity>
@@ -238,7 +238,7 @@
238238
android:exported="false"
239239
android:windowSoftInputMode="stateAlwaysHidden">
240240
<intent-filter>
241-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_FINGERPRINT_SETTINGS" />
241+
<action android:name="org.lineageos.setupwizard.LINEAGE_FINGERPRINT_SETTINGS" />
242242
<category android:name="android.intent.category.DEFAULT" />
243243
</intent-filter>
244244
</activity>
@@ -251,7 +251,7 @@
251251
android:exported="false"
252252
android:windowSoftInputMode="stateAlwaysHidden">
253253
<intent-filter>
254-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
254+
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
255255
<category android:name="android.intent.category.DEFAULT" />
256256
</intent-filter>
257257
</activity>
@@ -263,7 +263,7 @@
263263
android:immersive="true"
264264
android:windowSoftInputMode="stateAlwaysHidden">
265265
<intent-filter>
266-
<action android:name="com.cyanogenmod.setupwizard.LINEAGE_SETUP_COMPLETE" />
266+
<action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
267267
<category android:name="android.intent.category.DEFAULT" />
268268
</intent-filter>
269269
</activity>
@@ -275,7 +275,7 @@
275275
android:label="@@string/activity_label_empty"
276276
android:theme="@style/NoDisplay">
277277
<intent-filter>
278-
<action android:name="com.cyanogenmod.setupwizard.EXIT"/>
278+
<action android:name="org.lineageos.setupwizard.EXIT"/>
279279
<category android:name="android.intent.category.DEFAULT"/>
280280
</intent-filter>
281281
</activity>

exit_wizard.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
adb root
44
wait ${!}
5-
adb shell pm enable com.cyanogenmod.setupwizard/com.cyanogenmod.setupwizard.SetupWizardExitActivity || true
5+
adb shell pm enable org.lineageos.setupwizard/org.lineageos.setupwizard.SetupWizardExitActivity || true
66
wait ${!}
77
adb shell pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardExitActivity || true
88
wait ${!}
99
sleep 1
10-
adb shell am start com.cyanogenmod.setupwizard/com.cyanogenmod.setupwizard.SetupWizardExitActivity || true
10+
adb shell am start org.lineageos.setupwizard/org.lineageos.setupwizard.SetupWizardExitActivity || true
1111
wait ${!}
1212
sleep 1
1313
adb shell am start com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardExitActivity

res/layout/finish_activity.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<com.cyanogenmod.setupwizard.widget.ScrimInsetsFrameLayout
18+
<org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout
1919
xmlns:android="http://schemas.android.com/apk/res/android"
2020
xmlns:app="http://schemas.android.com/apk/res-auto"
2121
android:id="@+id/root"
@@ -56,4 +56,4 @@
5656
android:background="@drawable/reveal"
5757
android:visibility="invisible"/>
5858

59-
</com.cyanogenmod.setupwizard.widget.ScrimInsetsFrameLayout>
59+
</org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout>

res/layout/locale_picker.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
android:paddingTop="22dip"
2626
android:paddingBottom="22dip"/>
2727

28-
<view class="com.cyanogenmod.setupwizard.widget.LocalePicker$CustomEditText"
28+
<view class="org.lineageos.setupwizard.widget.LocalePicker$CustomEditText"
2929
android:textAppearance="?android:attr/textAppearanceMedium"
3030
android:textColor="?android:attr/textColorPrimary"
3131
android:id="@+id/localepicker_input"

res/layout/setup_locale.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
android:paddingLeft="@dimen/content_margin_left"
3232
android:paddingRight="@dimen/content_margin_left">
3333

34-
<com.cyanogenmod.setupwizard.widget.LocalePicker
34+
<org.lineageos.setupwizard.widget.LocalePicker
3535
android:id="@+id/locale_list"
3636
android:layout_width="match_parent"
3737
android:layout_height="wrap_content"

res/raw/lineage_wizard_script.xml

+14-14
Original file line numberDiff line numberDiff line change
@@ -20,58 +20,58 @@
2020
<WizardScript xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard"
2121
wizard:firstAction="bluetooth_setup">
2222

23-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_BLUETOOTH_SETUP;end" id="bluetooth_setup">
23+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP;end" id="bluetooth_setup">
2424
<result wizard:action="welcome" />
2525
</WizardAction>
2626

27-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_WELCOME;end" id="welcome">
27+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WELCOME;end" id="welcome">
2828
<result wizard:action="locale" />
2929
</WizardAction>
30-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_LOCALE;end" id="locale">
30+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCALE;end" id="locale">
3131
<result wizard:action="datetime" />
3232
</WizardAction>
3333

34-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_DATETIME;end" id="datetime">
34+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_DATETIME;end" id="datetime">
3535
<result wizard:action="wifi_setup" />
3636
</WizardAction>
3737

38-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_WIFI_SETUP;end" id="wifi_setup">
38+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WIFI_SETUP;end" id="wifi_setup">
3939
<result wizard:resultCode="1" wizard:action="sim_missing" wizard:name="no_sim" />
4040
<result wizard:action="choose_data_sim" />
4141
</WizardAction>
4242

43-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_SIM_MISSING;end" id="sim_missing">
43+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SIM_MISSING;end" id="sim_missing">
4444
<result wizard:resultCode="1" wizard:action="location_settings" wizard:name="skip_sim" />
4545
<result wizard:action="choose_data_sim" />
4646
</WizardAction>
4747

48-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_CHOOSE_DATA_SIM;end" id="choose_data_sim">
48+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_CHOOSE_DATA_SIM;end" id="choose_data_sim">
4949
<result wizard:action="enable_mobile_data" />
5050
</WizardAction>
5151

52-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_ENABLE_MOBILE_DATA;end" id="enable_mobile_data">
52+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_ENABLE_MOBILE_DATA;end" id="enable_mobile_data">
5353
<result wizard:action="location_settings" />
5454
</WizardAction>
5555

56-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_LOCATION_SETTINGS;end" id="location_settings">
56+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS;end" id="location_settings">
5757
<result wizard:action="lineage_settings" />
5858
</WizardAction>
5959

60-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_SETTINGS;end" id="lineage_settings">
60+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETTINGS;end" id="lineage_settings">
6161
<result wizard:action="fingerprint_settings" />
6262
</WizardAction>
6363

64-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_FINGERPRINT_SETTINGS;end" id="fingerprint_settings">
64+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_FINGERPRINT_SETTINGS;end" id="fingerprint_settings">
6565
<result wizard:action="lockscreen_settings" />
6666
</WizardAction>
6767

68-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS;end" id="lockscreen_settings">
68+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS;end" id="lockscreen_settings">
6969
<result wizard:action="finish" />
7070
</WizardAction>
7171

72-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
72+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
7373
<result wizard:action="exit" />
7474
</WizardAction>
75-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.EXIT;end" id="exit" />
75+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.EXIT;end" id="exit" />
7676

7777
</WizardScript>

res/raw/lineage_wizard_script_user.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
<WizardScript xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard"
2020
wizard:firstAction="finish">
2121

22-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
22+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
2323
<result wizard:action="exit" />
2424
</WizardAction>
25-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.EXIT;end" id="exit" />
25+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.EXIT;end" id="exit" />
2626

2727
</WizardScript>

res/raw/wizard_script.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@
7272
<result wizard:action="oem_post_setup" />
7373
</WizardAction>
7474
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_qr_provision_flow" id="qr_provision_flow" />
75-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_SETTINGS;end" id="oem_post_setup">
75+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETTINGS;end" id="oem_post_setup">
7676
<result wizard:action="finish" />
7777
</WizardAction>
78-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
78+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
7979
<result wizard:action="exit" />
8080
</WizardAction>
8181
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.KID_POST_SETUP;end" id="kid_post_setup" />

res/raw/wizard_script_user.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_user_no_account_flow" id="no_account_flow">
6262
<result wizard:action="oem_post_setup" />
6363
</WizardAction>
64-
<WizardAction wizard:uri="intent:#Intent;action=com.cyanogenmod.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="oem_post_setup" />
64+
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="oem_post_setup" />
6565
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.KID_POST_SETUP;end" id="kid_post_setup" />
6666
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.EXIT;end" id="exit" />
6767
<WizardAction id="END_OF_SCRIPT" />

res/values/config.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
-->
1717
<resources>
1818
<integer name="local_picker_items">3</integer>
19-
<bool name="branded_device">false</bool>
2019
<!-- The type of sim image to display.
2120
0=default sim image, 1=sim on side, 2=sim on back-->
2221
<integer name="sim_image_type">0</integer>
2322
<bool name="check_custom_theme_by_default">true</bool>
24-
<string name="wizard_script_uri" translatable="false">android.resource://com.cyanogenmod.setupwizard/raw/wizard_script</string>
23+
<string name="wizard_script_uri" translatable="false">android.resource://org.lineageos.setupwizard/raw/wizard_script</string>
24+
<string name="wizard_script_user_uri" translatable="false">android.resource://org.lineageos.setupwizard/raw/wizard_script_user</string>
2525

2626
</resources>

0 commit comments

Comments
 (0)