SharedPreferences function ( Context arg0 , EnumSet < Flags > arg1 ) { if ( arg1 != null && ! arg1 . contains ( Flags . DISABLE_MIGRATIONS ) ) { migrateIfNecessary ( arg0 ) ; } return arg0 . getSharedPreferences ( APP_PREFS_NAME , 0 ) ; }
returns an app-scoped sharedpreferences instance . you can disable migrations by using the disable_migrations flag . concode_field_sep String APP_PREFS_NAME concode_elem_sep String CRASH_PREFS_NAME concode_elem_sep String PROFILE_PREFS_NAME_PREFIX concode_elem_sep String[] PROFILE_MIGRATIONS_0_TO_1 concode_elem_sep String[] PROFILE_MIGRATIONS_1_TO_2 concode_elem_sep EnumSet<Flags> disableMigrations concode_elem_sep boolean migrationDone concode_elem_sep String LOGTAG concode_elem_sep int PREFS_VERSION concode_elem_sep String PREFS_VERSION_KEY concode_field_sep int getVersion concode_elem_sep void migrateIfNecessary concode_elem_sep void migrateCrashReporterSettings concode_elem_sep void reset concode_elem_sep Editor migrateFromPreferenceManager concode_elem_sep SharedPreferences forCrashReporter concode_elem_sep SharedPreferences forCrashReporter concode_elem_sep void performMigration concode_elem_sep SharedPreferences forProfile concode_elem_sep SharedPreferences forProfile concode_elem_sep SharedPreferences forProfileName concode_elem_sep SharedPreferences forProfileName concode_elem_sep void putEntry