For the added flexibility of allowing apps that extend from settings to have a different package name, these instances of com.android.settings as a xmlns need to be replaced with res-auto (which subsitutes the package name at build time). Bug: 174264676 Test: manual (sdk_gphone), make -j20 SettingsRoboTests Change-Id: I03acda25dbf4d028cc73b77f41ad5dedca110ecb
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.2 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.
 | 
						|
 | 
						|
  -->
 | 
						|
 | 
						|
<!--
 | 
						|
    WARNING: This resource file is used to test Settings Search indexing.
 | 
						|
    If you change something in here, please run the settings robotests and
 | 
						|
    make sure they still pass.
 | 
						|
 -->
 | 
						|
 | 
						|
<PreferenceScreen
 | 
						|
        xmlns:android="http://schemas.android.com/apk/res/android"
 | 
						|
        xmlns:settings="http://schemas.android.com/apk/res-auto"
 | 
						|
        android:title="bears_bears_bears"
 | 
						|
        settings:keywords="keywords">
 | 
						|
 | 
						|
    <Preference
 | 
						|
            android:key="pref_key_1"
 | 
						|
            android:title="bears_bears_bears"
 | 
						|
            settings:controller="mind_flayer"/>
 | 
						|
</PreferenceScreen> |