Searched refs:defaultPreferences (Results 1 – 2 of 2) sorted by relevance
107 SharedPreferences defaultPreferences = settingsManager.getDefaultPreferences(); in getLastVersion() local108 if (defaultPreferences.contains(OLD_KEY_UPGRADE_VERSION)) { in getLastVersion()109 Map<String, ?> allPrefs = defaultPreferences.getAll(); in getLastVersion()111 defaultPreferences.edit().remove(OLD_KEY_UPGRADE_VERSION).apply(); in getLastVersion()175 SharedPreferences defaultPreferences = settingsManager.getDefaultPreferences(); in upgradeTypesToStrings() local180 if (defaultPreferences.contains(Keys.KEY_RECORD_LOCATION)) { in upgradeTypesToStrings()181 boolean location = removeBoolean(defaultPreferences, Keys.KEY_RECORD_LOCATION); in upgradeTypesToStrings()186 if (defaultPreferences.contains(Keys.KEY_USER_SELECTED_ASPECT_RATIO)) { in upgradeTypesToStrings()187 boolean userSelectedAspectRatio = removeBoolean(defaultPreferences, in upgradeTypesToStrings()194 if (defaultPreferences.contains(Keys.KEY_EXPOSURE_COMPENSATION_ENABLED)) { in upgradeTypesToStrings()[all …]
102 SharedPreferences defaultPreferences = in selectAccount() local104 defaultPreferences.edit().putString(SELECTED_ACCOUNT, account.name).commit(); in selectAccount()