This change handles as below based on if private space already exists on device: 1. If PS doesn't exist then start the setup flow which shows a PS education screen. On setup button creates the private space. 2. If PS already exists on device then display PS settings page. Bug: 299069146 Test: atest PrivateSpaceSettingsAuthenticatorTest Change-Id: I46bdbaeb0210fd5b41a426f852e3f455b62c1c29
40 lines
1.4 KiB
XML
40 lines
1.4 KiB
XML
<?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.
|
|
-->
|
|
|
|
<ItemGroup
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<Item
|
|
android:enabled="false"
|
|
android:icon="@drawable/ic_apps"
|
|
android:title="@string/privatespace_access_bottom_text"
|
|
app:sudIconTint="?android:attr/textColorSecondary"/>
|
|
|
|
<Item
|
|
android:enabled="false"
|
|
android:icon="@drawable/ic_lock_24dp"
|
|
android:title="@string/privatespace_protected_lock_text"
|
|
app:sudIconTint="?android:attr/textColorSecondary"/>
|
|
|
|
<Item
|
|
android:enabled="false"
|
|
android:icon="@drawable/ic_notifications"
|
|
android:title="@string/privatespace_hidden_notifications_text"
|
|
app:sudIconTint="?android:attr/textColorSecondary"/>
|
|
</ItemGroup>
|