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.java109 List<AccountWithDataSet> currentWritableAccounts) { in getOnlyOrDefaultAccount() argument
110 if (currentWritableAccounts.size() == 1) { in getOnlyOrDefaultAccount()
111 return currentWritableAccounts.get(0); in getOnlyOrDefaultAccount()
124 public void maybeUpdateDefaultAccount(List<AccountWithDataSet> currentWritableAccounts) { in maybeUpdateDefaultAccount() argument
125 if (currentWritableAccounts.size() == 1) { in maybeUpdateDefaultAccount()
126 final AccountWithDataSet onlyAccount = currentWritableAccounts.get(0); in maybeUpdateDefaultAccount()
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java305 currentWritableAccounts) { in shouldShowAccountChangedNotification() argument
312 if (currentWritableAccounts.isEmpty()) { in shouldShowAccountChangedNotification()
316 if (currentWritableAccounts.size() == 1 in shouldShowAccountChangedNotification()
317 && !currentWritableAccounts.get(0).equals(localAccount)) { in shouldShowAccountChangedNotification()
325 if (!currentWritableAccounts.contains(defaultAccount)) { in shouldShowAccountChangedNotification()