fix: 引入Settings的Module

This commit is contained in:
2024-12-10 14:57:24 +08:00
parent ad8fc8731d
commit df105485bd
6934 changed files with 896168 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
<!--
~ Copyright (C) 2024 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/private_space_delete_nav"
app:startDestination="@id/ps_delete_fragment">
<fragment android:id="@+id/ps_delete_fragment"
android:name="com.android.settings.privatespace.delete.PrivateSpaceDeleteFragment"
android:label="fragment_ps_delete">
<action
android:id="@+id/action_authenticate_delete"
app:destination="@id/ps_delete_progress_fragment"/>
</fragment>
<fragment android:id="@+id/ps_delete_progress_fragment"
android:name="com.android.settings.privatespace.delete.PrivateSpaceDeletionProgressFragment"
android:label="fragment_ps_auto_advance"/>
</navigation>

View File

@@ -0,0 +1,81 @@
<?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/privatespace_main_context_nav"
app:startDestination="@id/ps_education_fragment">
<fragment android:id="@+id/ps_education_fragment"
android:name="com.android.settings.privatespace.PrivateSpaceEducation"
android:label="fragment_ps_education">
<action
android:id="@+id/action_education_to_auto_advance"
app:destination="@id/ps_auto_advance_fragment"/>
</fragment>
<fragment android:id="@+id/ps_auto_advance_fragment"
android:name="com.android.settings.privatespace.AutoAdvanceSetupFragment"
android:label="fragment_ps_auto_advance">
<action
android:id="@+id/action_advance_profile_error"
app:destination="@id/ps_profile_error_fragment"/>
<action
android:id="@+id/action_set_lock_fragment"
app:destination="@id/ps_profile_lock_fragment"/>
<action
android:id="@+id/action_account_intro_fragment"
app:destination="@id/ps_account_intro_fragment"/>
</fragment>
<fragment android:id="@+id/ps_profile_error_fragment"
android:name="com.android.settings.privatespace.PrivateProfileCreationError"
android:label="fragment_ps_error">
<action
android:id="@+id/action_retry_profile_creation"
app:destination="@id/ps_auto_advance_fragment"/>
</fragment>
<fragment android:id="@+id/ps_profile_success_fragment"
android:name="com.android.settings.privatespace.SetupSuccessFragment"
android:label="fragment_ps_success"/>
<fragment android:id="@+id/ps_account_error_fragment"
android:name="com.android.settings.privatespace.PrivateSpaceAccountLoginError"
android:label="fragment_account_error">
<action
android:id="@+id/action_advance_login_error"
app:destination="@id/ps_account_intro_fragment"/>
<action
android:id="@+id/action_skip_account_login"
app:destination="@id/ps_profile_lock_fragment"/>
</fragment>
<fragment android:id="@+id/ps_profile_lock_fragment"
android:name="com.android.settings.privatespace.PrivateSpaceSetLockFragment"
android:label="fragment_ps_lock">
<action
android:id="@+id/action_lock_success_fragment"
app:destination="@id/ps_profile_success_fragment"/>
</fragment>
<fragment android:id="@+id/ps_account_intro_fragment"
android:name="com.android.settings.privatespace.PrivateSpaceGaiaEducationFragment"
android:label="fragment_ps_account_intro">
<action
android:id="@+id/action_account_lock_fragment"
app:destination="@id/ps_profile_lock_fragment"/>
<action
android:id="@+id/action_advance_login_error"
app:destination="@id/ps_account_error_fragment"/>
</fragment>
<action android:id="@+id/action_success_fragment"
app:destination="@id/ps_profile_success_fragment"/>
</navigation>

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