summaryrefslogtreecommitdiff
path: root/xr/packages/overlays/SetupWizardOverlayXr/res/raw/wizard_script.xml
diff options
context:
space:
mode:
Diffstat (limited to 'xr/packages/overlays/SetupWizardOverlayXr/res/raw/wizard_script.xml')
-rw-r--r--xr/packages/overlays/SetupWizardOverlayXr/res/raw/wizard_script.xml62
1 files changed, 62 insertions, 0 deletions
diff --git a/xr/packages/overlays/SetupWizardOverlayXr/res/raw/wizard_script.xml b/xr/packages/overlays/SetupWizardOverlayXr/res/raw/wizard_script.xml
new file mode 100644
index 0000000..5ec8fa0
--- /dev/null
+++ b/xr/packages/overlays/SetupWizardOverlayXr/res/raw/wizard_script.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- This file is a modified version of
+ "google3/java/com/google/android/apps/vr/setupwizard/res/raw/wizard_script.xml"
+ that is customized for GSI XR.
+-->
+<WizardScript xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard"
+ wizard:version="2">
+
+ <!-- Preliminary setup for OEMs -->
+ <WizardAction
+ id="oem_pre_setup"
+ wizard:uri="intent:#Intent;action=com.android.setupwizard.OEM_PRE_SETUP;end">
+ <result wizard:action="wait_for_unlock"/>
+ </WizardAction>
+
+ <!-- This step waits for the device to be unlocked from a decryption point of view. Even if we
+ don't support encryption the device might take a little bit of time to get out of direct boot
+ mode. This step waits until direct boot is no longer needed. -->
+ <WizardAction id="wait_for_unlock"
+ wizard:uri="intent:#Intent;action=com.android.setupwizard.CHECK_USER_UNLOCK;end">
+ </WizardAction>
+
+ <!-- Controller Turn-on screen. -->
+ <WizardAction id="controller"
+ wizard:uri="intent:#Intent;action=com.google.android.apps.vr.setupwizard.CONTROLLER_TURN_ON;end">
+ </WizardAction>
+
+ <!-- Welcome screen with language selection [RECOMMENDED, CUSTOMIZABLE] -->
+ <WizardAction id="welcome"
+ wizard:uri="intent:#Intent;action=com.android.setupwizard.WELCOME;end">
+ </WizardAction>
+
+ <!-- Network selection and packages update [REQUIRED, CUSTOMIZABLE] -->
+ <WizardAction id="connect_and_update"
+ wizard:script="android.resource://com.google.android.apps.vr.setupwizard/raw/wizard_script_connect_and_update_flow">
+ <!-- AIO setup requires network connection. If no network, stay on the same page -->
+ <result wizard:name="no_connection"
+ wizard:resultCode="1"
+ wizard:action="oem_post_setup" />
+ </WizardAction>
+
+ <!-- Set up as a new device [REQUIRED, CUSTOMIZABLE] -->
+ <WizardAction id="setup_as_new_flow"
+ wizard:script="android.resource://com.google.android.apps.vr.setupwizard/raw/wizard_script_setup_as_new_flow">
+ <result wizard:action="oem_post_setup" />
+ </WizardAction>
+
+ <!-- Set up as zero touch enabled device -->
+ <WizardAction id="zero_touch"
+ wizard:script="android.resource://com.google.android.apps.vr.setupwizard/raw/wizard_script_zero_touch_flow">
+ <result wizard:name="dpm_user_complete" wizard:resultCode="111"/>
+ </WizardAction>
+
+ <!-- OEM completion [CUSTOMIZABLE] -->
+ <WizardAction id="oem_post_setup"
+ wizard:uri="intent:#Intent;action=com.android.setupwizard.OEM_POST_SETUP;end" />
+
+ <!-- Leave Setup Wizard [REQUIRED] -->
+ <WizardAction id="exit"
+ wizard:uri="intent:#Intent;action=com.android.setupwizard.EXIT;end" />
+</WizardScript>