setupwizard: remove all LineageOS branding and references

- Rename LineageSettingsActivity -> PawletSettingsActivity
- Rename all LINEAGE_* intent action names to drop the LINEAGE_ prefix
  (BLUETOOTH_SETUP, WELCOME, LOCALE, SIM_MISSING, NETWORK_SETUP, DATETIME,
   RESTORE_BACKUP, LOCATION_SETTINGS, RECOVERY_UPDATE, PAWLET_SETTINGS,
   BIOMETRIC_SETTINGS, LOCKSCREEN_SETTINGS, SETUP_COMPLETE)
- Rename lineage_wizard_script* raw resources to pawlet_wizard_script*
- Rename setup_lineage_settings layout to setup_pawlet_settings
- Update wizard_script.xml and wizard_script_user.xml action names
- Fix DeviceSpecificActivity SUW_SETTINGS action to me.pawlet.settings.device
- Update user-visible strings: "Lineage Recovery", "LineageOS features"
- Update privacy policy URI from lineageos.org to pawletos.oxmc.me
This commit is contained in:
oxmc
2026-06-15 01:26:27 -07:00
parent d8539affdd
commit 2ef798acff
12 changed files with 77 additions and 78 deletions
@@ -101,4 +101,3 @@
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2016 The CyanogenMod Project
SPDX-FileCopyrightText: The LineageOS Project
@@ -8,24 +8,24 @@
wizard:firstAction="bluetooth_setup">
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_BLUETOOTH_SETUP;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.BLUETOOTH_SETUP;end"
id="bluetooth_setup">
<result wizard:action="welcome" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_WELCOME;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.WELCOME;end"
id="welcome">
<result wizard:action="locale" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_LOCALE;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LOCALE;end"
id="locale">
<result wizard:action="network_setup" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_NETWORK_SETUP;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.NETWORK_SETUP;end"
id="network_setup">
<result wizard:action="device_specific" />
</WizardAction>
@@ -37,19 +37,19 @@
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_RECOVERY_UPDATE;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.RECOVERY_UPDATE;end"
id="recovery_update">
<result wizard:action="lineage_settings" />
<result wizard:action="pawlet_settings" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_SETTINGS;end"
id="lineage_settings">
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.PAWLET_SETTINGS;end"
id="pawlet_settings">
<result wizard:action="finish" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_SETUP_COMPLETE;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.SETUP_COMPLETE;end"
id="finish" />
</WizardScript>
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2016 The CyanogenMod Project
SPDX-FileCopyrightText: The LineageOS Project
@@ -8,50 +8,50 @@
wizard:firstAction="bluetooth_setup">
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_BLUETOOTH_SETUP;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.BLUETOOTH_SETUP;end"
id="bluetooth_setup">
<result wizard:action="welcome" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_WELCOME;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.WELCOME;end"
id="welcome">
<result wizard:name="skip" wizard:resultCode="1" />
<result wizard:action="locale" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_LOCALE;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LOCALE;end"
id="locale">
<result wizard:action="sim_missing" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_SIM_MISSING;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.SIM_MISSING;end"
id="sim_missing">
<result wizard:action="network_setup" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_NETWORK_SETUP;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.NETWORK_SETUP;end"
id="network_setup">
<result wizard:action="datetime" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_DATETIME;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.DATETIME;end"
id="datetime">
<result wizard:action="restore" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_RESTORE_BACKUP;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.RESTORE_BACKUP;end"
id="restore">
<result wizard:action="location_settings" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_LOCATION_SETTINGS;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LOCATION_SETTINGS;end"
id="location_settings">
<result wizard:action="device_specific" />
</WizardAction>
@@ -63,25 +63,25 @@
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_RECOVERY_UPDATE;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.RECOVERY_UPDATE;end"
id="recovery_update">
<result wizard:action="lineage_settings" />
<result wizard:action="pawlet_settings" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_SETTINGS;end"
id="lineage_settings">
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.PAWLET_SETTINGS;end"
id="pawlet_settings">
<result wizard:action="biometric_settings" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_BIOMETRIC_SETTINGS;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.BIOMETRIC_SETTINGS;end"
id="biometric_settings">
<result wizard:action="lockscreen_settings" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LOCKSCREEN_SETTINGS;end"
id="lockscreen_settings">
<result wizard:action="theme_settings" />
</WizardAction>
@@ -99,7 +99,7 @@
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_SETUP_COMPLETE;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.SETUP_COMPLETE;end"
id="finish" />
</WizardScript>
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2016 The CyanogenMod Project
SPDX-FileCopyrightText: 2021 The Calyx Institute
@@ -9,26 +9,26 @@
wizard:firstAction="welcome">
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_WELCOME;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.WELCOME;end"
id="welcome">
<result wizard:name="skip" wizard:resultCode="1" />
<result wizard:action="restore" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_RESTORE_BACKUP;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.RESTORE_BACKUP;end"
id="restore">
<result wizard:action="location_settings" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_LOCATION_SETTINGS;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LOCATION_SETTINGS;end"
id="location_settings">
<result wizard:action="finish" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_SETUP_COMPLETE;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.SETUP_COMPLETE;end"
id="finish" />
</WizardScript>
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2016 The CyanogenMod Project
SPDX-FileCopyrightText: The LineageOS Project
@@ -8,32 +8,32 @@
wizard:firstAction="welcome">
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_WELCOME;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.WELCOME;end"
id="welcome">
<result wizard:name="skip" wizard:resultCode="1" />
<result wizard:action="restore" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_RESTORE_BACKUP;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.RESTORE_BACKUP;end"
id="restore">
<result wizard:action="location_settings" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_LOCATION_SETTINGS;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LOCATION_SETTINGS;end"
id="location_settings">
<result wizard:action="biometric_settings" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_BIOMETRIC_SETTINGS;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.BIOMETRIC_SETTINGS;end"
id="biometric_settings">
<result wizard:action="lockscreen_settings" />
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LOCKSCREEN_SETTINGS;end"
id="lockscreen_settings">
<result wizard:action="theme_settings" />
</WizardAction>
@@ -51,7 +51,7 @@
</WizardAction>
<WizardAction
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.LINEAGE_SETUP_COMPLETE;end"
wizard:uri="intent:#Intent;action=me.pawlet.setupwizard.SETUP_COMPLETE;end"
id="finish" />
</WizardScript>
+5 -5
View File
@@ -130,16 +130,16 @@
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_qr_provision_flow" id="qr_provision_flow">
<result wizard:action="oem_post_setup" />
</WizardAction>
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.LINEAGE_RESTORE_BACKUP;end" id="oem_post_setup">
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.RESTORE_BACKUP;end" id="oem_post_setup">
<result wizard:action="device_specific" />
</WizardAction>
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.DEVICE_SPECIFIC;end" id="device_specific">
<result wizard:action="recovery_update" />
</WizardAction>
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.LINEAGE_RECOVERY_UPDATE;end" id="recovery_update">
<result wizard:action="lineage_settings" />
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.RECOVERY_UPDATE;end" id="recovery_update">
<result wizard:action="pawlet_settings" />
</WizardAction>
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.LINEAGE_SETTINGS;end" id="lineage_settings">
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.PAWLET_SETTINGS;end" id="pawlet_settings">
<result wizard:action="theme_settings" />
</WizardAction>
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.THEME_SETTINGS;end" id="theme_settings">
@@ -148,7 +148,7 @@
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.NAVIGATION_SETTINGS;end" id="navigation_settings">
<result wizard:action="finish" />
</WizardAction>
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.SETUP_COMPLETE;end" id="finish">
<result wizard:action="exit" />
</WizardAction>
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_post_dpm_provision_finalization_flow" id="enterprise_finalization_flow" />
+1 -1
View File
@@ -66,7 +66,7 @@
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_user_account_flow" id="no_account_flow">
<result wizard:action="oem_post_setup" />
</WizardAction>
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="oem_post_setup" />
<WizardAction wizard:uri="intent:#Intent;package=me.pawlet.setupwizard;action=me.pawlet.setupwizard.SETUP_COMPLETE;end" id="oem_post_setup" />
<WizardAction wizard:uri="intent:#Intent;package=com.google.android.setupwizard;action=com.google.android.setupwizard.KID_POST_SETUP;end" id="kid_post_setup" />
<WizardAction wizard:uri="intent:#Intent;package=com.google.android.setupwizard;action=com.android.setupwizard.EXIT;end" id="exit" />
<WizardAction id="END_OF_SCRIPT" />
+9 -9
View File
@@ -8,9 +8,9 @@
<string name="app_name">Setup Wizard</string>
<string name="os_name" translatable="false">PawletOS</string>
<string name="lineage_wizard_script_uri" translatable="false">android.resource://me.pawlet.setupwizard/raw/lineage_wizard_script</string>
<string name="lineage_wizard_script_user_uri" translatable="false">android.resource://me.pawlet.setupwizard/raw/lineage_wizard_script_user</string>
<string name="lineage_wizard_script_managed_profile_uri" translatable="false">android.resource://me.pawlet.setupwizard/raw/lineage_wizard_script_managed_profile</string>
<string name="pawlet_wizard_script_uri" translatable="false">android.resource://me.pawlet.setupwizard/raw/pawlet_wizard_script</string>
<string name="pawlet_wizard_script_user_uri" translatable="false">android.resource://me.pawlet.setupwizard/raw/pawlet_wizard_script_user</string>
<string name="pawlet_wizard_script_managed_profile_uri" translatable="false">android.resource://me.pawlet.setupwizard/raw/pawlet_wizard_script_managed_profile</string>
<string name="activity_label_empty" />
@@ -54,17 +54,17 @@
<string name="location_agps_access_summary">When location is on, <b>download satellite assistance data from the internet</b>, which can greatly improve the GPS startup performance.</string>
<!-- Recovery update page -->
<string name="update_recovery_title">Update Lineage Recovery</string>
<string name="update_recovery_description">Updates Lineage Recovery on first boot subsequent to every update.</string>
<string name="update_recovery_title">Update Recovery</string>
<string name="update_recovery_description">Updates the recovery partition on first boot subsequent to every update.</string>
<string name="update_recovery_warning">Recovery will be updated as soon as you finish the setup. If you wish to keep it intact, disable this feature.</string>
<string name="update_recovery_setting">Update Lineage Recovery alongside the OS</string>
<string name="update_recovery_setting">Update recovery alongside the OS</string>
<string name="update_recovery_full_description"><xliff:g id="recovery_update_description">%1$s</xliff:g>\n<xliff:g id="recovery_update_warning">%2$s</xliff:g></string>
<!-- LineageOS features page -->
<string name="setup_services">LineageOS features</string>
<!-- PawletOS features page -->
<string name="setup_services">PawletOS features</string>
<string name="services_pp_explanation">These services work for you to extend the capabilities of your device. Data will be used in accordance with <xliff:g id="name" example="LineageOS">%1$s</xliff:g>\'s privacy policy.</string>
<string name="services_find_privacy_policy">You can read the privacy policy on another device by visiting <xliff:g id="uri" example="https://lineageos.org/legal">%1$s</xliff:g></string>
<string name="services_privacy_policy_uri" translatable="false">https://lineageos.org/legal</string>
<string name="services_privacy_policy_uri" translatable="false">https://pawletos.oxmc.me/legal</string>
<string name="services_help_improve_cm">Help improve <xliff:g id="name" example="LineageOS">%s</xliff:g></string>
<string name="services_metrics_label"><xliff:g id="name" example="Help improve LineageOS">%1$s</xliff:g> by automatically sending diagnostic and usage data to <xliff:g id="name" example="LineageOS">%2$s</xliff:g>. This information cant be used to identify you and lends a hand to teams working on things like battery life, app performance, and new <xliff:g id="name" example="LineageOS">%3$s</xliff:g> features.</string>
<string name="services_os_nav_keys_label"><b>Use on screen navigation keys</b> instead of hardware keys.</string>