]> git.zerfleddert.de Git - ms2-fixes/commitdiff
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 f790c58ffe765bf97b540a13a65b96b604d92b4a..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) {
@@ -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