suw: Update wizard scripts for R
The google suw flow has changed a little bit in Android 11, so this change syncs our scripts to google's so that they match. Change-Id: I59e9643fad8c48c22a090a29e621e2761ef7e0d0
This commit is contained in:
committed by
Michael Bestas
parent
4027defd55
commit
64dd898409
@@ -2,7 +2,7 @@
|
||||
|
||||
<!--
|
||||
Copyright (c) 2014 Google Inc.
|
||||
Copyright (C) 2017,2019 The LineageOS Project
|
||||
Copyright (C) 2017,2019-2020 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -31,8 +31,20 @@
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.WELCOME;end" id="welcome">
|
||||
<result wizard:action="check_user_unlock_qr" wizard:name="start_qr_provision" wizard:resultCode="101" />
|
||||
<result wizard:action="check_user_unlock_dpm_user_complete" wizard:name="dpm_user_complete" wizard:resultCode="111" />
|
||||
<result wizard:action="check_user_unlock_work_setup_interrupted_qr_scan" wizard:name="check_user_unlock_work_setup_interrupted_qr_scan" wizard:resultCode="114" />
|
||||
<result wizard:action="check_user_unlock_work_setup_interrupted_consumer_flow" wizard:name="check_user_unlock_work_setup_interrupted_consumer_flow" wizard:resultCode="115" />
|
||||
<result wizard:action="check_user_unlock" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.CHECK_USER_UNLOCK;end" id="check_user_unlock_work_setup_interrupted_qr_scan" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.WORK_SETUP_INTERRUPTED;end" id="work_setup_interrupted_qr_scan">
|
||||
<result wizard:action="check_user_unlock_qr" wizard:name="continue_start_qr_scan" wizard:resultCode="1" />
|
||||
<result wizard:action="factory_reset" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.CHECK_USER_UNLOCK;end" id="check_user_unlock_work_setup_interrupted_consumer_flow" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.WORK_SETUP_INTERRUPTED;end" id="work_setup_interrupted_consumer_flow">
|
||||
<result wizard:action="check_user_unlock" wizard:name="continue_start_consumer_flow" wizard:resultCode="1" />
|
||||
<result wizard:action="factory_reset" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.CHECK_USER_UNLOCK;end" id="check_user_unlock_qr">
|
||||
<result wizard:action="qr_provision_flow" />
|
||||
</WizardAction>
|
||||
@@ -40,12 +52,22 @@
|
||||
<result wizard:action="oem_post_setup" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.CHECK_USER_UNLOCK;end" id="check_user_unlock" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.SLOTS_SELECTION;end" id="slots_selection">
|
||||
<result wizard:action="sim_missing" wizard:name="skip" wizard:resultCode="1" />
|
||||
<result wizard:action="carrier_setup" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.SIM_MISSING;end" id="sim_missing">
|
||||
<result wizard:action="esim_intro" wizard:name="esim" wizard:resultCode="101" />
|
||||
<result wizard:action="carrier_setup" wizard:name="esim_only" wizard:resultCode="102" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.SIM_READY;end" id="sim_ready">
|
||||
<result wizard:action="carrier_setup" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.ESIM_INTRO;end" id="esim_intro" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.CARRIER_SETUP;end" id="carrier_setup" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.CARRIER_SETUP;end" id="carrier_setup">
|
||||
<result wizard:action="sim_setup" wizard:name="all_subscriptions_completed" wizard:resultCode="98765" />
|
||||
<result wizard:action="carrier_setup" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.SIM_SETUP;end" id="sim_setup" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.DEVICE_OWNER_WARNING;end" id="device_owner_warning">
|
||||
<result wizard:action="check_frp" wizard:name="skip" wizard:resultCode="1" />
|
||||
@@ -57,22 +79,19 @@
|
||||
</WizardAction>
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_zero_touch_flow" id="zero_touch">
|
||||
<result wizard:action="post_dpm_user_flow" wizard:name="dpm_user_complete" wizard:resultCode="111" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.FLOW_CHOICE;end" id="flow_choice">
|
||||
<result wizard:action="setup_as_new_flow" wizard:name="skip" wizard:resultCode="1" />
|
||||
<result wizard:action="exit" wizard:name="demo_mode_flow" wizard:resultCode="101" />
|
||||
<result wizard:action="unified_restore_flow" wizard:name="unified_restore_flow" wizard:resultCode="102" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_restore_flow" id="restore_flow">
|
||||
<result wizard:action="oem_post_setup" />
|
||||
<result wizard:action="add_personal_account_after_work_profile" wizard:name="add_personal_account_after_work_profile" wizard:resultCode="120" />
|
||||
<result wizard:action="setup_as_new_flow" wizard:name="gmscore_zero_touch" wizard:resultCode="116" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_unified_restore_flow" id="unified_restore_flow">
|
||||
<result wizard:action="oem_post_setup" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_setup_as_new_flow" id="setup_as_new_flow">
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_no_network_flow" id="no_network_flow">
|
||||
<result wizard:action="oem_post_setup" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_no_network_flow" id="no_network_flow">
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_account_flow" id="add_personal_account_after_work_profile">
|
||||
<result wizard:action="oem_post_setup" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:flow="SetupAsNewFlow" wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_account_flow" id="setup_as_new_flow">
|
||||
<result wizard:action="oem_post_setup" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_post_dpm_user_flow" id="post_dpm_user_flow">
|
||||
@@ -85,6 +104,7 @@
|
||||
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_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" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.KID_POST_SETUP;end" id="kid_post_setup" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.EXIT;end" id="exit" />
|
||||
</WizardScript>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<!--
|
||||
Copyright (c) 2014 Google Inc.
|
||||
Copyright (C) 2017,2019 The LineageOS Project
|
||||
Copyright (C) 2017,2019-2020 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -35,30 +35,43 @@
|
||||
<result wizard:action="oem_post_setup" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.CHECK_USER_UNLOCK;end" id="check_user_unlock" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.COMPLETE_IN_FLIGHT_UPDATES;end" id="complete_in_flight_updates" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.NETWORK_SETTINGS;end" id="network_settings">
|
||||
<result wizard:action="wifi_settings" wizard:name="see_all_wifi" wizard:resultCode="102" />
|
||||
<result wizard:action="network_check" wizard:name="skip" wizard:resultCode="1" />
|
||||
<result wizard:action="captive_portal" />
|
||||
<result wizard:action="no_account_flow" wizard:name="skip" wizard:resultCode="1" />
|
||||
<result wizard:action="consolidate_captive_portal" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.WIFI_SETTINGS;end" id="wifi_settings">
|
||||
<result wizard:action="network_check" wizard:name="skip" wizard:resultCode="1" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.CAPTIVE_PORTAL;end" id="captive_portal" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.GMS_CHECKIN;end" id="gms_checkin" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.EARLY_UPDATE;end" id="early_update" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.NETWORK_CHECK;end" id="network_check">
|
||||
<result wizard:action="no_account_flow" wizard:name="skip" wizard:resultCode="1" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_rollback_auth_early_update_flow" id="rollback_auth_early_update" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.CONSOLIDATE_CAPTIVE_PORTAL;end" id="consolidate_captive_portal">
|
||||
<result wizard:action="network_unavailable" wizard:name="timeout" wizard:resultCode="101" />
|
||||
<result wizard:action="pre_checkin_and_update" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.PRE_CHECKIN_AND_UPDATE;end" id="pre_checkin_and_update">
|
||||
<result wizard:action="network_timeout" wizard:name="timeout" wizard:resultCode="101" />
|
||||
<result wizard:action="post_checkin_and_update" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.NETWORK_TIMEOUT;end" id="network_timeout" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.POST_CHECKIN_AND_UPDATE;end" id="post_checkin_and_update">
|
||||
<result wizard:action="network_check" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.NETWORK_CHECK;end" id="network_check">
|
||||
<result wizard:action="network_unavailable" wizard:name="no_connection" wizard:resultCode="1" />
|
||||
<result wizard:action="load_account_intent" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.NETWORK_TIMEOUT;end" id="network_unavailable" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.LOAD_ADD_ACCOUNT_INTENT;end" id="load_account_intent" />
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.ACCOUNT_SETUP;end" id="account_setup">
|
||||
<result wizard:action="no_account_flow" wizard:name="skip" wizard:resultCode="1" />
|
||||
<result wizard:action="rollback_auth_early_update" wizard:name="unintentional_cancel" wizard:resultCode="102" />
|
||||
<result wizard:action="oem_post_setup" wizard:name="dpm_user_complete" wizard:resultCode="111" />
|
||||
<result wizard:action="gms_account_checkin" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_rollback_auth_early_update_flow" id="rollback_auth_early_update">
|
||||
<result wizard:action="load_account_intent" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.GMS_ACCOUNT_CHECKIN;end" id="gms_account_checkin">
|
||||
<result wizard:action="mfm_check" wizard:name="skip" wizard:resultCode="1" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.ACCOUNT_CHECK;end" id="mfm_check">
|
||||
<result wizard:action="no_account_flow" wizard:name="skip" wizard:resultCode="1" />
|
||||
</WizardAction>
|
||||
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_user_account_flow" id="account_flow">
|
||||
|
||||
Reference in New Issue
Block a user