adds a single channel to history , with the current time . concode_field_sep Settings settings concode_elem_sep String FAVORITES_SETTING concode_elem_sep int DAY concode_elem_sep String HISTORY_SETTING concode_field_sep List<String> favorites concode_elem_sep void favorites concode_elem_sep void removeChannelsFromFavorites concode_elem_sep void removeChannelFromFavorites concode_elem_sep Set<String> getFavorites concode_elem_sep void removeOld concode_elem_sep void removeChannelFromHistory concode_elem_sep void removeChannels concode_elem_sep void removeChannelsFromHistory concode_elem_sep void addChannelToFavorites concode_elem_sep String prepareChannel concode_elem_sep void clearHistory concode_elem_sep Map<String,Long> getHistory concode_elem_sep void addChannelsToFavorites
void function ( String arg0 ) { if ( ! settings . getBoolean ( "srini_string" ) ) { return ; } arg0 = prepareChannel ( arg0 ) ; if ( arg0 == null ) { return ; } settings . mapPut ( HISTORY_SETTING , arg0 , System . currentTimeMillis ( ) ) ; settings . setSettingChanged ( "srini_string" ) ; }