question: public void refreshPreferences ( Context context ) { if ( mEnabledResId != 0 ) { final SharedPreferences prefs = PreferenceManager . getDefaultSharedPreferences ( context ) ; if ( ! prefs . getBoolean ( context . getString ( mEnabledResId ) , mEnabledDefault ) ) { setTriggerKeys ( Collections . < Long > emptySet ( ) ) ; return ; } } setTriggerKeys ( KeyComboPreference . getKeyCodesForPreference ( context , mAssignedKeysResId ) ) ; }
target:  Read key mapping from default preferences for context