- Build a controller to generate/manage a list of preferences. - Move some logics to the controller and add tests. Bug: 73899467 Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wallpaper Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core Test: atest SettingsGatewayTest UniquePreferenceTest Change-Id: I519a76ff34bcd4195b0ad6ad406a8f66371923d2
		
			
				
	
	
		
			24 lines
		
	
	
		
			1020 B
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			1020 B
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <!-- Copyright (C) 2011 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="wallpaper_type"
 | |
|     android:title="@string/wallpaper_settings_fragment_title"
 | |
|     settings:controller="com.android.settings.wallpaper.WallpaperTypePreferenceController">
 | |
| </PreferenceScreen>
 |