From: Michael Gernoth Date: Sun, 24 Jul 2011 20:11:55 +0000 (+0200) Subject: update defaults for debounce_delay and poll_time X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/ms2-fixes/commitdiff_plain/131fed255e5772093e2f41cba76bca2bbafd33d1 update defaults for debounce_delay and poll_time --- diff --git a/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java b/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java index f790c58..e26379f 100644 --- a/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java +++ b/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java @@ -164,7 +164,7 @@ public class DebounceModuleHelper public synchronized int getSavedDelay() { SharedPreferences settings = ctx.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); - return settings.getInt("debounce_delay", 8); + return settings.getInt("debounce_delay", 15); } public synchronized void setSavedDelay(int delay) { @@ -192,7 +192,7 @@ public class DebounceModuleHelper public synchronized int getSavedPoll() { SharedPreferences settings = ctx.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); - return settings.getInt("poll_time", 10); + return settings.getInt("poll_time", 2); } public synchronized void setSavedPoll(int poll) {