List apps which requested the TURN_SCREEN_ON appOp permission
Bug: 272053372 Test: manually installed an app which requests the permission and verified it shows up correctly in Settings > Apps > special app access > Turn screen on Test: atest AppFilterRegistryTest Test: atest TurnScreenOnDetailsTest Test: m -j RunSettingsRoboTests Test: adb shell am start -a android.settings.TURN_SCREEN_ON_SETTINGS Change-Id: I7c47d4b1c0b33c7ba6209bb64acf93cb07d9a717
This commit is contained in:
@@ -195,7 +195,11 @@
|
||||
android:key="turn_screen_on"
|
||||
android:title="@string/turn_screen_on_title"
|
||||
android:order="-200"
|
||||
android:fragment="com.android.settings.applications.specialaccess.turnscreenon.TurnScreenOnSettings" />
|
||||
android:fragment="com.android.settings.applications.manageapplications.ManageApplications">
|
||||
<extra
|
||||
android:name="classname"
|
||||
android:value="com.android.settings.Settings$TurnScreenOnSettingsActivity" />
|
||||
</Preference>
|
||||
|
||||
<Preference
|
||||
android:key="special_access_more"
|
||||
|
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 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="turn_screen_on_screen"
|
||||
android:title="@string/turn_screen_on_title"
|
||||
settings:searchable="false" />
|
Reference in New Issue
Block a user