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

View File

@@ -36,7 +36,7 @@
android:protectionLevel="signatureOrSystem" />
<protected-broadcast
android:name="me.pawlet.setupwizard.LINEAGE_SETUP_COMPLETE"
android:name="me.pawlet.setupwizard.SETUP_COMPLETE"
android:permission="me.pawlet.setupwizard.permission.FINISH_SETUP" />
<protected-broadcast
@@ -93,7 +93,7 @@
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
<action android:name="me.pawlet.setupwizard.BLUETOOTH_SETUP" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -106,7 +106,7 @@
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_WELCOME" />
<action android:name="me.pawlet.setupwizard.WELCOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -119,7 +119,7 @@
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_LOCALE" />
<action android:name="me.pawlet.setupwizard.LOCALE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -132,7 +132,7 @@
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_DATETIME" />
<action android:name="me.pawlet.setupwizard.DATETIME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -145,7 +145,7 @@
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_SIM_MISSING" />
<action android:name="me.pawlet.setupwizard.SIM_MISSING" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -158,7 +158,7 @@
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_NETWORK_SETUP" />
<action android:name="me.pawlet.setupwizard.NETWORK_SETUP" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -171,7 +171,7 @@
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_LOCATION_SETTINGS" />
<action android:name="me.pawlet.setupwizard.LOCATION_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -184,7 +184,7 @@
android:exported="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_RECOVERY_UPDATE" />
<action android:name="me.pawlet.setupwizard.RECOVERY_UPDATE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -202,14 +202,14 @@
</activity>
<activity
android:name=".LineageSettingsActivity"
android:name=".PawletSettingsActivity"
android:label="@string/activity_label_empty"
android:configChanges="mcc|mnc"
android:immersive="true"
android:exported="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_SETTINGS" />
<action android:name="me.pawlet.setupwizard.PAWLET_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -235,7 +235,7 @@
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_BIOMETRIC_SETTINGS" />
<action android:name="me.pawlet.setupwizard.BIOMETRIC_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -248,7 +248,7 @@
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
<action android:name="me.pawlet.setupwizard.LOCKSCREEN_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -261,7 +261,7 @@
android:exported="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_RESTORE_BACKUP" />
<action android:name="me.pawlet.setupwizard.RESTORE_BACKUP" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -287,7 +287,7 @@
android:exported="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="me.pawlet.setupwizard.LINEAGE_SETUP_COMPLETE" />
<action android:name="me.pawlet.setupwizard.SETUP_COMPLETE" />
<action android:name="me.pawlet.setupwizard.SETUP_FINISHED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>

View File

@@ -101,4 +101,3 @@
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

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" />

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" />

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>

View File

@@ -12,7 +12,7 @@ import me.pawlet.setupwizard.util.SetupWizardUtils;
public class DeviceSpecificActivity extends SubBaseActivity {
private static final String ACTION_SETUP_DEVICE = "org.lineageos.settings.device.SUW_SETTINGS";
private static final String ACTION_SETUP_DEVICE = "me.pawlet.settings.device.SUW_SETTINGS";
protected void onStartSubactivity() {
Intent intent = new Intent(ACTION_SETUP_DEVICE);

View File

@@ -17,7 +17,7 @@ import android.view.View;
import android.widget.CheckBox;
import android.widget.TextView;
public class LineageSettingsActivity extends BaseSetupWizardActivity {
public class PawletSettingsActivity extends BaseSetupWizardActivity {
private SetupWizardApp mSetupWizardApp;
@@ -53,13 +53,13 @@ public class LineageSettingsActivity extends BaseSetupWizardActivity {
View metricsRow = findViewById(R.id.metrics);
metricsRow.setOnClickListener(mMetricsClickListener);
metricsRow.requestFocus();
String metricsHelpImproveLineage =
String metricsHelpImprove =
getString(R.string.services_help_improve_cm, os_name);
String metricsSummary = getString(R.string.services_metrics_label,
metricsHelpImproveLineage, os_name, os_name);
metricsHelpImprove, os_name, os_name);
final SpannableStringBuilder metricsSpan = new SpannableStringBuilder(metricsSummary);
metricsSpan.setSpan(new android.text.style.StyleSpan(android.graphics.Typeface.BOLD),
0, metricsHelpImproveLineage.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
0, metricsHelpImprove.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
TextView metrics = findViewById(R.id.enable_metrics_summary);
metrics.setText(metricsSpan);
mMetrics = findViewById(R.id.enable_metrics_checkbox);
@@ -78,7 +78,7 @@ public class LineageSettingsActivity extends BaseSetupWizardActivity {
@Override
protected int getLayoutResId() {
return R.layout.setup_lineage_settings;
return R.layout.setup_pawlet_settings;
}
@Override

View File

@@ -40,13 +40,13 @@ public class SetupWizardActivity extends AppCompatActivity {
Intent intent = new Intent(ACTION_LOAD);
Bundle wizardBundle = new Bundle();
if (SetupWizardUtils.isOwner()) {
wizardBundle.putString(EXTRA_SCRIPT_URI, getString(R.string.lineage_wizard_script_uri));
wizardBundle.putString(EXTRA_SCRIPT_URI, getString(R.string.pawlet_wizard_script_uri));
} else if (SetupWizardUtils.isManagedProfile(this)) {
wizardBundle.putString(EXTRA_SCRIPT_URI,
getString(R.string.lineage_wizard_script_managed_profile_uri));
getString(R.string.pawlet_wizard_script_managed_profile_uri));
} else {
wizardBundle.putString(EXTRA_SCRIPT_URI,
getString(R.string.lineage_wizard_script_user_uri));
getString(R.string.pawlet_wizard_script_user_uri));
}
intent.putExtra(EXTRA_WIZARD_BUNDLE, wizardBundle);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | FLAG_GRANT_READ_URI_PERMISSION);