Home
last modified time | relevance | path

Searched refs:currentWritableAccounts (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java107 List<AccountWithDataSet> currentWritableAccounts) { in getOnlyOrDefaultAccount() argument
108 if (currentWritableAccounts.size() == 1) { in getOnlyOrDefaultAccount()
109 return currentWritableAccounts.get(0); in getOnlyOrDefaultAccount()
122 public void maybeUpdateDefaultAccount(List<AccountWithDataSet> currentWritableAccounts) { in maybeUpdateDefaultAccount() argument
123 if (currentWritableAccounts.size() == 1) { in maybeUpdateDefaultAccount()
124 final AccountWithDataSet onlyAccount = currentWritableAccounts.get(0); in maybeUpdateDefaultAccount()
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java256 currentWritableAccounts) { in shouldShowAccountChangedNotification() argument
262 if (currentWritableAccounts.isEmpty()) { in shouldShowAccountChangedNotification()
266 if (currentWritableAccounts.size() == 1 in shouldShowAccountChangedNotification()
267 && !currentWritableAccounts.get(0).isNullAccount()) { in shouldShowAccountChangedNotification()
275 if (!currentWritableAccounts.contains(defaultAccount)) { in shouldShowAccountChangedNotification()