Loading core/java/android/provider/ContactsContract.java +9 −1 Original line number Diff line number Diff line Loading @@ -8796,6 +8796,8 @@ public final class ContactsContract { /** * Get the account that is set as the default account for new contacts, which should be * initially selected when creating a new contact on contact management apps. * If the setting has not been set by any app, it will return null. Once the setting * is set to non-null Account, it can still be set to null in the future. * * @param resolver the ContentResolver to query. * @return the default account for new contacts, or null if it's not set or set to NULL Loading @@ -8810,7 +8812,13 @@ public final class ContactsContract { /** * Sets the account as the default account that should be initially selected * when creating a new contact on contact management apps. * when creating a new contact on contact management apps. Apps can only set one of * the following accounts as the default account: * <ol> * <li>null or custom local account * <li>SIM account * <li>AccountManager accounts * </ol> * * @param resolver the ContentResolver to query. * @param account the account to be set to default. Loading Loading
core/java/android/provider/ContactsContract.java +9 −1 Original line number Diff line number Diff line Loading @@ -8796,6 +8796,8 @@ public final class ContactsContract { /** * Get the account that is set as the default account for new contacts, which should be * initially selected when creating a new contact on contact management apps. * If the setting has not been set by any app, it will return null. Once the setting * is set to non-null Account, it can still be set to null in the future. * * @param resolver the ContentResolver to query. * @return the default account for new contacts, or null if it's not set or set to NULL Loading @@ -8810,7 +8812,13 @@ public final class ContactsContract { /** * Sets the account as the default account that should be initially selected * when creating a new contact on contact management apps. * when creating a new contact on contact management apps. Apps can only set one of * the following accounts as the default account: * <ol> * <li>null or custom local account * <li>SIM account * <li>AccountManager accounts * </ol> * * @param resolver the ContentResolver to query. * @param account the account to be set to default. Loading