mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
put back RestartTimer call inadvertently removed
This commit is contained in:
parent
dda6e056a0
commit
a2f0ec232a
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue