From 131fed255e5772093e2f41cba76bca2bbafd33d1 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sun, 24 Jul 2011 22:11:55 +0200 Subject: [PATCH] update defaults for debounce_delay and poll_time --- .../src/de/rmdir/ms2debounce/DebounceModuleHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5