]> cvs.zerfleddert.de Git - ms2-fixes/blobdiff - MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java
helper for installing debug version
[ms2-fixes] / MS2Debounce / src / de / rmdir / ms2debounce / DebounceModuleHelper.java
index f790c58ffe765bf97b540a13a65b96b604d92b4a..4b6ad0e36fa14dc018217bfd4ae3fb7a3ce5ad06 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", 150);
+               return settings.getInt("settle_time", 40);
        }
 
        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", 20);
        }
 
        public synchronized void setSavedPoll(int poll) {
        }
 
        public synchronized void setSavedPoll(int poll) {
Impressum, Datenschutz