mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +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
|
// Preference.OnPreferenceChangeListener interface
|
||||||
public boolean onPreferenceChange( Preference preference, Object newValue )
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue