Searched refs:mDefaultAccountKey (Results 1 – 2 of 2) sorted by relevance
57 private final String mDefaultAccountKey; field in ContactEditorUtils70 mDefaultAccountKey = mContext.getResources().getString( in ContactEditorUtils()85 mPrefs.edit().remove(mDefaultAccountKey).remove(KEY_KNOWN_ACCOUNTS) in cleanupForTest()91 mPrefs.edit().remove(mDefaultAccountKey).apply(); in removeDefaultAccountForTest()99 mPrefs.edit().putString(KEY_KNOWN_ACCOUNTS, "").putString(mDefaultAccountKey, "").apply(); in resetPreferenceValues()134 editor.remove(mDefaultAccountKey); in saveDefaultAndAllAccounts()138 editor.putString(mDefaultAccountKey, defaultAccount.stringify()); in saveDefaultAndAllAccounts()158 final String saved = mPrefs.getString(mDefaultAccountKey, null); in getDefaultAccount()
95 private String mDefaultAccountKey; field in ContactsPreferences103 mDefaultAccountKey = mContext.getResources().getString( in ContactsPreferences()178 .getString(mDefaultAccountKey, mDefaultAccount); in getDefaultAccount()192 editor.remove(mDefaultAccountKey); in setDefaultAccount()194 editor.putString(mDefaultAccountKey, accountWithDataSet.stringify()); in setDefaultAccount()315 } else if (mDefaultAccountKey.equals(key)) { in refreshValue()354 if (!mPreferences.contains(mDefaultAccountKey)) { in maybeMigrateSystemSettings()357 final String defaultAccount = previousPrefs.getString(mDefaultAccountKey, null); in maybeMigrateSystemSettings()