1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2023 The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16  -->
17
18<PreferenceScreen
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:settings="http://schemas.android.com/apk/res-auto"
21    android:key="private_space_title"
22    android:title="@string/private_space_title"
23    settings:searchable="false">
24
25    <com.android.settingslib.widget.TopIntroPreference
26        android:key="private_space_description"
27        android:title="@string/private_space_description"
28        settings:searchable="false"/>
29
30    <PreferenceCategory
31        android:title="@string/private_space_category_lock">
32
33        <Preference
34            android:key="private_space_use_one_lock"
35            android:title="@string/private_space_lock_title"
36            android:fragment="com.android.settings.privatespace.onelock.UseOneLockSettingsFragment"
37            settings:controller="com.android.settings.privatespace.onelock.UseOneLockController"
38            settings:searchable="false" />
39
40        <Preference
41            android:key="private_space_auto_lock"
42            android:title="@string/private_space_auto_lock_title"
43            android:fragment="com.android.settings.privatespace.autolock.AutoLockSettingsFragment"
44            settings:controller="com.android.settings.privatespace.autolock.AutoLockPreferenceController"
45            settings:searchable="false" />
46
47    </PreferenceCategory>
48
49    <PreferenceCategory
50        android:title="@string/private_space_category_hide">
51
52        <Preference
53            android:key="private_space_hidden"
54            android:title="@string/private_space_hide_page_title"
55            android:fragment="com.android.settings.privatespace.HidePrivateSpaceSettings"
56            settings:controller="com.android.settings.privatespace.HidePrivateSpaceSummaryController"
57            settings:searchable="false" />
58
59    </PreferenceCategory>
60
61    <PreferenceCategory
62        android:title="@string/private_space_category_system">
63
64        <Preference
65            android:key="private_space_delete"
66            android:title="@string/private_space_delete_title"
67            settings:controller="com.android.settings.privatespace.delete.DeletePrivateSpaceController"
68            settings:searchable="false" />
69
70    </PreferenceCategory>
71
72    <com.android.settingslib.widget.FooterPreference
73        android:key="private_space_footer"
74        android:title="@string/private_space_settings_footer_text"
75        android:selectable="false"
76        settings:searchable="false"
77        settings:controller="com.android.settings.privatespace.PrivateSpaceFooterPreferenceController"/>
78
79
80</PreferenceScreen>
81