Merge "Add package filtering to NLSes" into sc-dev am: 776919fc0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13499641 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I99f7c44b694bde8b682a6dade3f5406b650b702d
This commit is contained in:
@@ -8820,6 +8820,22 @@
|
||||
<string name="notif_type_alerting">Alerting notifications</string>
|
||||
<string name="notif_type_silent">Silent notifications</string>
|
||||
|
||||
<!-- Per notification listener, launches a list of apps whose notifications this listener cannot see -->
|
||||
<string name="notif_listener_excluded_title">Apps that are not bridged to this listener</string>
|
||||
|
||||
<!-- Per notification listener, when the listener can see notifications from all apps -->
|
||||
<string name="notif_listener_excluded_summary_zero">All apps are bridged</string>
|
||||
|
||||
<!-- Per notification listener, a summary of how many apps this listener cannot see
|
||||
notifications from -->
|
||||
<plurals name="notif_listener_excluded_summary_nonzero">
|
||||
<item quantity="one">%d app is not bridged</item>
|
||||
<item quantity="other">%d apps are not bridged</item>
|
||||
</plurals>
|
||||
|
||||
<!-- Per notification listener, a list of apps whose notifications this listener cannot see -->
|
||||
<string name="notif_listener_excluded_app_title">Bridged apps</string>
|
||||
|
||||
<!-- Title for managing VR (virtual reality) helper services. [CHAR LIMIT=50] -->
|
||||
<string name="vr_listeners_title">VR helper services</string>
|
||||
|
||||
|
||||
25
res/xml/notification_access_bridged_apps_settings.xml
Normal file
25
res/xml/notification_access_bridged_apps_settings.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2021 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:key="nonbridged_apps"
|
||||
android:title="@string/notif_listener_excluded_app_title"
|
||||
settings:controller="com.android.settings.applications.specialaccess.notificationaccess.BridgedAppsPreferenceController"
|
||||
settings:searchable="false">
|
||||
</PreferenceScreen>
|
||||
@@ -41,11 +41,11 @@
|
||||
style="@style/SettingsMultiSelectListPreference"
|
||||
settings:controller="com.android.settings.applications.specialaccess.notificationaccess.TypeFilterPreferenceController"/>/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="advanced"
|
||||
android:order="50"
|
||||
settings:initialExpandedChildrenCount="0">
|
||||
<Preference
|
||||
android:key="bridged_apps"
|
||||
android:title="@string/notif_listener_excluded_app_title"
|
||||
android:fragment="com.android.settings.applications.specialaccess.notificationaccess.BridgedAppsSettings"
|
||||
settings:searchable="false"
|
||||
settings:controller="com.android.settings.applications.specialaccess.notificationaccess.BridgedAppsPreferenceController" />
|
||||
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user