- add the default app shortcut preferences to the preference screen xml instead of creating them dynamically in the fragment. - add controller for each of the shortcut preference. - move the corresponding shortcut detail settings into the appinfo package. - add individual preference screen xml for the shortcut detail settings instead of using the shared screen template. Bug: 69384089 Test: make RunSettingsRoboTests Change-Id: I7bc0b3b727e87fb1a32a82291e64b8e290947671
		
			
				
	
	
		
			30 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <!-- Copyright (C) 2017 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="picture_in_picture_permission_detail_settings"
 | |
|     android:title="@string/picture_in_picture_app_detail_title">
 | |
| 
 | |
|     <SwitchPreference
 | |
|         android:key="app_ops_settings_switch"
 | |
|         android:title="@string/picture_in_picture_app_detail_switch"/>
 | |
| 
 | |
|     <Preference
 | |
|         android:summary="@string/picture_in_picture_app_detail_summary"
 | |
|         android:selectable="false"/>
 | |
| 
 | |
| </PreferenceScreen>
 |