put back RestartTimer call inadvertently removed

This commit is contained in:
Andy2 2010-10-18 06:23:24 -07:00
parent dda6e056a0
commit a2f0ec232a

View file

@ -49,7 +49,11 @@ public class PollListPreference extends ListPreference
// Preference.OnPreferenceChangeListener interface
public boolean onPreferenceChange( Preference preference, Object newValue )
{
setSummaryToMatch( (String)newValue );
String valstr = (String)newValue;
int val = Integer.parseInt(valstr);
RelayReceiver.RestartTimer( m_context, val * 1000 );
setSummaryToMatch( valstr );
return true;
}