Moves ZenModeBypassingAppsSettings into modes dir
Copies these files into modes dir, so we can continue to deprecate the old zen directory Bug: 308819928 Test: flash+test, atest ZenModeAllBypassingAppsPreferenceControllerTest, atestZenModeAddBypassingAppsPreferenceControllerTest Flag: android.app.modes_ui Change-Id: Ib18930bb16a3d675e460028f5c52ef32060541ad Change-Id: Id6c8d834bbd106fef068c5f04acf8cd71229a5e3
This commit is contained in:
37
res/xml/zen_mode_select_bypassing_apps.xml
Normal file
37
res/xml/zen_mode_select_bypassing_apps.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?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_bypassing_apps_title">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="zen_mode_bypassing_apps_list"
|
||||
android:title="@string/zen_mode_bypassing_apps_header">
|
||||
<!-- apps that have notifications that can bypass DND are added here -->
|
||||
</PreferenceCategory>
|
||||
|
||||
<Preference
|
||||
android:key="zen_mode_bypassing_apps_add"
|
||||
android:title="@string/zen_mode_bypassing_apps_add"
|
||||
android:icon="@drawable/ic_add_24dp"
|
||||
settings:allowDividerAbove="true" />
|
||||
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:title="@string/zen_mode_bypassing_apps_footer" />
|
||||
</PreferenceScreen>
|
Reference in New Issue
Block a user