motorola defaults
authorMichael Gernoth <michael@gernoth.net>
Fri, 19 Aug 2011 13:43:35 +0000 (15:43 +0200)
committerMichael Gernoth <michael@gernoth.net>
Fri, 19 Aug 2011 13:43:35 +0000 (15:43 +0200)
MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java

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