Fix missing accounts category for single profile case.

Bug: 169455298
Test: manual - with no accounts, with an account, with work profile.
 Clicking all preferences work as expected.
Test: make RunSettingsRoboTests
Change-Id: Ie206c52b259d2b6610aa2c6ea52cb276d49266a3
This commit is contained in:
Ahaan Ugale
2021-03-24 22:57:29 -07:00
parent 448dac80de
commit 507d987aa3

View File

@@ -45,6 +45,11 @@
</com.android.settings.widget.GearPreference> </com.android.settings.widget.GearPreference>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory
android:key="accounts_category"
android:order="100"
android:title="@string/account_settings">
<PreferenceCategory <PreferenceCategory
android:key="dashboard_tile_placeholder" android:key="dashboard_tile_placeholder"
android:order="130"/> android:order="130"/>
@@ -68,5 +73,6 @@
android:title="@string/account_settings_menu_auto_sync_personal" android:title="@string/account_settings_menu_auto_sync_personal"
android:summary="@string/auto_sync_account_summary" android:summary="@string/auto_sync_account_summary"
android:order="204"/> android:order="204"/>
</PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>