Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f9b9ca4 authored by Liefu Liu's avatar Liefu Liu
Browse files

Defined the config_rawContactsEligibleDefaultAccountTypes in the

framework's config.

Account types in this config_rawContactsEligibleDefaultAccountTypes
array can be set as the default account. OEM can customize their own
default account types.

Bug: b/364731608
Test: unit test
Flag:com.android.providers.contacts.flags.enable_new_default_account_rule_flag

	modified:   core/res/res/values/config.xml
	modified:   core/res/res/values/symbols.xml

Change-Id: I6b4813bb27dd8a1c7f8b91509628f462a230224e
parent d381f9d0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -5831,6 +5831,13 @@
         should also be non-empty.-->
    <string name="config_rawContactsLocalAccountType" translatable="false"></string>

    <!-- The array of account types that accounts in any of these can be set as the default account
         for new raw contacts. -->
    <string-array name="config_rawContactsEligibleDefaultAccountTypes" translatable="false">
        <!-- Add account types here, example: -->
        <!-- <item>com.google</item> -->
    </string-array>

    <!-- Whether or not to use assistant stream volume separately from music volume -->
    <bool name="config_useAssistantVolume">false</bool>

+1 −0
Original line number Diff line number Diff line
@@ -4501,6 +4501,7 @@
  <!-- For contacts provider. -->
  <java-symbol type="string" name="config_rawContactsLocalAccountName" />
  <java-symbol type="string" name="config_rawContactsLocalAccountType" />
  <java-symbol type="array" name="config_rawContactsEligibleDefaultAccountTypes" />

  <!-- For App Standby -->
  <java-symbol type="string" name="as_app_forced_to_restricted_bucket" />