Few update on contacts storage settings.
1. Add account preference category to contacts storage settings page 2. Preload account icon in settings constructor 3. Re-fetch account in controller to refresh the default account after user sets a different default account. Test: atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStorageSettingsTest atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStoragePreferenceControllerTest Bug: 368641291 Flag: android.provider.new_default_account_api_enabled Change-Id: I3ca2a7a0905118c7a3a47fe4573781ae86c246bd
This commit is contained in:
@@ -13779,9 +13779,12 @@
|
||||
<string name="contacts_storage_no_account_set_summary">No default set</string>
|
||||
<!-- Text for displaying when default account is set as local only [CHAR LIMIT=50] -->
|
||||
<string name="contacts_storage_local_account_summary">Device only</string>
|
||||
<!-- Text for displaying eligible account preference title [CHAR LIMIT=50] -->
|
||||
<string name="contacts_storage_account_title">Device and %1$s</string>
|
||||
<!-- Text for add account selection message when no account has been added [CHAR LIMIT=100] -->
|
||||
<string name="contacts_storage_first_time_add_account_message">Add an account to get started</string>
|
||||
|
||||
<!-- Text for account preference category title for contacts storage settings page [CHAR LIMIT=100] -->
|
||||
<string name="contacts_storage_account_category_title">Where to save contacts</string>
|
||||
<!-- Circle to Search (shared between all entrypoints) -->
|
||||
<!-- Name of Google's new feature to circle to search anything on your phone screen,
|
||||
without switching apps. Also used as the setting title. [CHAR LIMIT=60] -->
|
||||
|
Reference in New Issue
Block a user