Adds the settings page that a user will reach from a mode settings page when they tap on "App," to allow them to select whether all, none, or priority modes can break through and send notifications. Bug: 308819928 Bug: 331267485 Flag: android.app.modes_ui DEVELOPMENT Test: build and test, controller unit tests Change-Id: I5bcebfca0fc2882f839afdced8d2b817dad14e6c
44 lines
1.7 KiB
XML
44 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
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.
|
|
-->
|
|
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
android:title="@string/zen_mode_apps_title" >
|
|
|
|
<PreferenceCategory
|
|
android:key="zen_mode_apps_category"
|
|
android:title="@string/zen_mode_apps_category">
|
|
|
|
<com.android.settingslib.widget.SelectorWithWidgetPreference
|
|
android:key="zen_mode_apps_priority"
|
|
android:title="@string/zen_mode_apps_priority_apps"
|
|
settings:searchable="false"/>
|
|
|
|
<com.android.settingslib.widget.SelectorWithWidgetPreference
|
|
android:key="zen_mode_apps_none"
|
|
android:title="@string/zen_mode_apps_none_apps"
|
|
settings:searchable="false"/>
|
|
|
|
<com.android.settingslib.widget.SelectorWithWidgetPreference
|
|
android:key="zen_mode_apps_all"
|
|
android:title="@string/zen_mode_apps_all_apps"
|
|
settings:searchable="false"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen> |