]> cvs.zerfleddert.de Git - ms2-fixes/blobdiff - MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java
and lower again
[ms2-fixes] / MS2Debounce / src / de / rmdir / ms2debounce / DebounceModuleHelper.java
index 6a46fbb3e6ebd3a46866a75d73c5495cea6a3f76..e26379f3c965c936ee98f61f24aaa05f0f93d1b5 100644 (file)
@@ -164,7 +164,7 @@ public class DebounceModuleHelper
        public synchronized int getSavedDelay() {
                SharedPreferences settings = ctx.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE);
 
        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) {
        }
 
        public synchronized void setSavedDelay(int delay) {
@@ -178,7 +178,7 @@ public class DebounceModuleHelper
        public synchronized int getSavedSettle() {
                SharedPreferences settings = ctx.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE);
 
        public synchronized int getSavedSettle() {
                SharedPreferences settings = ctx.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE);
 
-               return settings.getInt("settle_time", 100);
+               return settings.getInt("settle_time", 150);
        }
 
        public synchronized void setSavedSettle(int settle) {
        }
 
        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);
 
        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) {
        }
 
        public synchronized void setSavedPoll(int poll) {
Impressum, Datenschutz