Update the ordering of the homepage tiles.

Lower the priority of System and Support settings to be negative so that
they will appear below dynamic tiles with default priority.

Change-Id: I4c0122aa54c5947cfcc7beb7f50b5ef720c8b9f0
Fix: 35928954
Test: make RunSettingsLibRoboTests
This commit is contained in:
Doris Ling
2017-03-10 15:52:30 -08:00
parent 5e2545c3e6
commit 033a58b9c2

View File

@@ -159,7 +159,7 @@
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE_LAUNCH" /> <category android:name="android.intent.category.VOICE_LAUNCH" />
</intent-filter> </intent-filter>
<intent-filter android:priority="10"> <intent-filter android:priority="11">
<action android:name="com.android.settings.action.SETTINGS"/> <action android:name="com.android.settings.action.SETTINGS"/>
</intent-filter> </intent-filter>
<meta-data android:name="com.android.settings.category" <meta-data android:name="com.android.settings.category"
@@ -2976,7 +2976,7 @@
<activity android:name=".Settings$SystemDashboardActivity" <activity android:name=".Settings$SystemDashboardActivity"
android:label="@string/header_category_system" android:label="@string/header_category_system"
android:icon="@drawable/ic_settings_about"> android:icon="@drawable/ic_settings_about">
<intent-filter android:priority="1"> <intent-filter android:priority="-1">
<action android:name="com.android.settings.action.SETTINGS"/> <action android:name="com.android.settings.action.SETTINGS"/>
</intent-filter> </intent-filter>
<meta-data android:name="com.android.settings.category" <meta-data android:name="com.android.settings.category"
@@ -2991,7 +2991,7 @@
android:label="@string/page_tab_title_support" android:label="@string/page_tab_title_support"
android:icon="@drawable/ic_help" android:icon="@drawable/ic_help"
android:enabled="@bool/config_support_enabled"> android:enabled="@bool/config_support_enabled">
<intent-filter android:priority="0"> <intent-filter android:priority="-2">
<action android:name="com.android.settings.action.SETTINGS"/> <action android:name="com.android.settings.action.SETTINGS"/>
</intent-filter> </intent-filter>
<meta-data android:name="com.android.settings.category" <meta-data android:name="com.android.settings.category"