From: Michael Gernoth Date: Fri, 19 Aug 2011 13:43:35 +0000 (+0200) Subject: motorola defaults X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/ms2-fixes/commitdiff_plain/ceccb7e2dec26f5d2d15dccabb15b29c5d9ff8ec?hp=6d3e36335a1698d23c626b7c756f2d03fcfd85b9 motorola defaults --- diff --git a/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java b/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java index e26379f..4b6ad0e 100644 --- a/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java +++ b/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java @@ -178,7 +178,7 @@ public class DebounceModuleHelper public synchronized int getSavedSettle() { SharedPreferences settings = ctx.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); - return settings.getInt("settle_time", 150); + return settings.getInt("settle_time", 40); } public synchronized void setSavedSettle(int settle) { @@ -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", 2); + return settings.getInt("poll_time", 20); } public synchronized void setSavedPoll(int poll) {