84 lines
5.4 KiB
XML
84 lines
5.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
Copyright (c) 2014 Google Inc.
|
|
Copyright (C) 2017 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.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<!--
|
|
The wizard:uris recorded here have the inconvenience of being generated by hand, but they allow
|
|
for the full spread of launch flags (we need FLAG_ACTIVITY_NEW_TASK [0x10000000]), where the
|
|
<intent> tag processed by Intent.parseIntent() does not.
|
|
|
|
adb shell am to-intent-uri -a com.android.setupwizard.WELCOME -f 0x10000000 \-\-ez firstRun true
|
|
-->
|
|
|
|
<WizardScript wizard:version="2"
|
|
xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard">
|
|
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.OEM_PRE_SETUP;end" id="oem_pre_setup" />
|
|
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.WELCOME;end" id="welcome">
|
|
<result wizard:resultCode="101" wizard:action="check_user_unlock_qr" wizard:name="start_qr_provision" />
|
|
<result wizard:resultCode="111" wizard:action="check_user_unlock_dpm_user_complete" wizard:name="dpm_user_complete" />
|
|
<result wizard:action="check_user_unlock" />
|
|
</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>
|
|
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.CHECK_USER_UNLOCK;end" id="check_user_unlock_dpm_user_complete">
|
|
<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.SIM_MISSING;end" id="sim_missing">
|
|
<result wizard:resultCode="101" wizard:action="esim_intro" wizard:name="esim" />
|
|
<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.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:resultCode="1" wizard:action="check_frp" wizard:name="skip" />
|
|
</WizardAction>
|
|
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.FACTORY_RESET;end" id="factory_reset" />
|
|
<WizardAction wizard:uri="intent:#Intent;action=com.google.android.setupwizard.CHECK_FRP;end" id="check_frp" />
|
|
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_connect_and_update_flow" id="connect_and_update">
|
|
<result wizard:resultCode="1" wizard:action="no_network_flow" wizard:name="no_connection" />
|
|
</WizardAction>
|
|
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_zero_touch_flow" id="zero_touch">
|
|
<result wizard:resultCode="111" wizard:action="oem_post_setup" wizard:name="dpm_user_complete" />
|
|
</WizardAction>
|
|
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.FLOW_CHOICE;end" id="flow_choice">
|
|
<result wizard:resultCode="1" wizard:action="setup_as_new_flow" wizard:name="skip" />
|
|
<result wizard:resultCode="101" wizard:action="exit" wizard:name="demo_mode_flow" />
|
|
</WizardAction>
|
|
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_restore_flow" id="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">
|
|
<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">
|
|
<result wizard:action="oem_post_setup" />
|
|
</WizardAction>
|
|
<WizardAction wizard:script="android.resource://com.google.android.setupwizard/xml/wizard_script_qr_provision_flow" id="qr_provision_flow" />
|
|
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETTINGS;end" id="oem_post_setup">
|
|
<result wizard:action="finish" />
|
|
</WizardAction>
|
|
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
|
|
<result wizard:action="exit" />
|
|
</WizardAction>
|
|
<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>
|