Merge "Add NLS specific screens for notification listener approval"
This commit is contained in:
committed by
Android (Google) Code Review
commit
9540929cfe
@@ -8066,6 +8066,9 @@
|
||||
<!-- String to show in the list of notification listeners, when none is installed -->
|
||||
<string name="no_notification_listeners">No installed apps have requested notification access.</string>
|
||||
|
||||
<!-- Button title that grants 'notification access' permission to an app [CHAR_LIMIT=60]-->
|
||||
<string name="notification_access_detail_switch">Allow notification access</string>
|
||||
|
||||
<!-- Title for a warning message about security implications of enabling a notification
|
||||
assistant, displayed as a dialog message. [CHAR LIMIT=NONE] -->
|
||||
<string name="notification_assistant_security_warning_title">Allow notification access for
|
||||
|
||||
27
res/xml/notification_access_permission_details.xml
Normal file
27
res/xml/notification_access_permission_details.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2019 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"
|
||||
android:key="notification_access_permission_detail_settings"
|
||||
android:title="@string/manage_notification_access_title">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="notification_access_switch"
|
||||
android:title="@string/notification_access_detail_switch"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user