Fix a bug where SYNC_SETTINGS intent opens a blank page.

Point to the intent to new IA fragment (User & Account)

Change-Id: I3880518f36f875091175432c5e91cfcd7edb42cd
Fix: 34395427
Test: run settings integ test
This commit is contained in:
Fan Zhang
2017-02-13 12:28:43 -08:00
parent 33b0a66aee
commit e2de8d5e6f

View File

@@ -2264,10 +2264,6 @@
android:icon="@drawable/ic_settings_accounts"
android:taskAffinity=""
android:parentActivityName="Settings">
<intent-filter android:priority="1">
<action android:name="android.settings.SYNC_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
@@ -3135,6 +3131,10 @@
<intent-filter android:priority="3">
<action android:name="com.android.settings.action.SETTINGS"/>
</intent-filter>
<intent-filter android:priority="1">
<action android:name="android.settings.SYNC_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.accounts.UserAndAccountDashboardFragment"/>
<meta-data android:name="com.android.settings.category"