void function ( boolean arg0 ) { SharedPreferences . Editor loc0 = mSharedPreferences . edit ( ) ; loc0 . putBoolean ( PREF_HOMEPAGE_ENABLED , arg0 ) ; loc0 . apply ( ) ; notifyHomepageUpdated ( ) ; }
sets the user preference for whether the homepage is enabled . concode_field_sep String PREF_HOMEPAGE_CUSTOM_URI concode_elem_sep SharedPreferences mSharedPreferences concode_elem_sep String PREF_HOMEPAGE_ENABLED concode_elem_sep HomepageManager sInstance concode_elem_sep ObserverList<HomepageStateListener> mHomepageStateListeners concode_elem_sep String PREF_HOMEPAGE_USE_DEFAULT_URI concode_field_sep String getPrefHomepageCustomUri concode_elem_sep boolean getPrefHomepageUseDefaultUri concode_elem_sep String getHomepageUri concode_elem_sep boolean getPrefHomepageEnabled concode_elem_sep void setPrefHomepageUseDefaultUri concode_elem_sep void removeListener concode_elem_sep void setPrefHomepageCustomUri concode_elem_sep void onHomepageStateUpdated concode_elem_sep void notifyHomepageUpdated concode_elem_sep boolean isHomepageEnabled concode_elem_sep boolean shouldShowHomepageSetting concode_elem_sep HomepageManager getInstance concode_elem_sep void addListener