Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/editor/
DAccountHeaderPresenter.java59 private AccountWithDataSet mCurrentAccount; field in AccountHeaderPresenter
90 if (mCurrentAccount != null && mCurrentAccount.equals(account)) { in setCurrentAccount()
93 mCurrentAccount = account; in setCurrentAccount()
104 if (mCurrentAccount == null || !AccountInfo.contains(mAccounts, mCurrentAccount)) { in setAccounts()
105 mCurrentAccount = mAccounts.isEmpty() ? null : accounts.get(0).getAccount(); in setAccounts()
112 return mCurrentAccount != null ? mCurrentAccount : null; in getCurrentAccount()
116 outState.putParcelable(KEY_SELECTED_ACCOUNT, mCurrentAccount); in onSaveInstanceState()
121 if (mCurrentAccount == null) { in onRestoreInstanceState()
122 mCurrentAccount = savedInstanceState.getParcelable(KEY_SELECTED_ACCOUNT); in onRestoreInstanceState()
129 if (mCurrentAccount == null) return; in updateDisplayedAccount()
[all …]