Remote authenticator enrollment navigation.
This change adds an entry point for Remote Auth enrollment and navigation through the flow. Bug: b/293906345 Test: make RunSettingsRoboTests -j40 Change-Id: I9bc803e24c4181ed73a0ef90b171897c677e71d1
This commit is contained in:
53
res/navigation/remote_auth_navigation.xml
Normal file
53
res/navigation/remote_auth_navigation.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2023 The Android Open Source 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.
|
||||
-->
|
||||
|
||||
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/remote_auth_navigation">
|
||||
|
||||
<fragment android:id="@+id/remote_auth_enroll_introduction_fragment"
|
||||
android:name="com.android.settings.remoteauth.introduction.RemoteAuthEnrollIntroduction"
|
||||
android:label="fragment_enroll_introduction">
|
||||
<action
|
||||
android:id="@+id/action_introduction_to_enrolling"
|
||||
app:destination="@id/remote_auth_enroll_enrolling_fragment"/>
|
||||
</fragment>
|
||||
|
||||
<fragment android:id="@+id/remote_auth_enroll_enrolling_fragment"
|
||||
android:name="com.android.settings.remoteauth.enrolling.RemoteAuthEnrollEnrolling"
|
||||
android:label="fragment_enroll_enrolling">
|
||||
<action
|
||||
android:id="@+id/action_enrolling_to_finish"
|
||||
app:destination="@id/remote_auth_enroll_finish_fragment"/>
|
||||
</fragment>
|
||||
|
||||
<fragment android:id="@+id/remote_auth_enroll_finish_fragment"
|
||||
android:name="com.android.settings.remoteauth.finish.RemoteAuthEnrollFinish"
|
||||
android:label="fragment_enroll_finish">
|
||||
<action
|
||||
android:id="@+id/action_finish_to_settings"
|
||||
app:destination="@id/remote_auth_settings_fragment"/>
|
||||
</fragment>
|
||||
|
||||
<fragment android:id="@+id/remote_auth_settings_fragment"
|
||||
android:name="com.android.settings.remoteauth.settings.RemoteAuthSettings"
|
||||
android:label="fragment_settings">
|
||||
<action
|
||||
android:id="@+id/action_settings_to_introduction"
|
||||
app:destination="@id/remote_auth_enroll_introduction_fragment"/>
|
||||
</fragment>
|
||||
</navigation>
|
||||
Reference in New Issue
Block a user