Allow extended apps to change package name

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
This commit is contained in:
Alex Stetson
2020-10-16 11:08:29 -07:00
parent 301603dfe3
commit c62327981e
7 changed files with 11 additions and 14 deletions

View File

@@ -15,7 +15,7 @@
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
xmlns:settings="http://schemas.android.com/apk/res-auto">
<item
settings:state_encrypted="true"
android:drawable="@drawable/ic_friction_lock_closed"/>

View File

@@ -15,7 +15,7 @@
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
xmlns:settings="http://schemas.android.com/apk/res-auto">
<item settings:state_encrypted="true">
<layer-list>
<item>