update defaults for debounce_delay and poll_time
authorMichael Gernoth <michael@gernoth.net>
Sun, 24 Jul 2011 20:11:55 +0000 (22:11 +0200)
committerMichael Gernoth <michael@gernoth.net>
Sun, 24 Jul 2011 20:11:55 +0000 (22:11 +0200)
MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java

index f790c58..e26379f 100644 (file)
@@ -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) {
Impressum, Datenschutz