change default settle time, fix landscape view
authorMichael Gernoth <michael@gernoth.net>
Tue, 5 Jul 2011 21:41:28 +0000 (23:41 +0200)
committerMichael Gernoth <michael@gernoth.net>
Tue, 5 Jul 2011 21:41:28 +0000 (23:41 +0200)
MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java
MS2Debounce/src/de/rmdir/ms2debounce/MS2Debounce.java

index 6a46fbb3e6ebd3a46866a75d73c5495cea6a3f76..f790c58ffe765bf97b540a13a65b96b604d92b4a 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", 100);
+               return settings.getInt("settle_time", 150);
        }
 
        public synchronized void setSavedSettle(int settle) {
index 87b53694caa973170ae30300f1eba6aba7546395..08ce61d73bdc3daf737d5840483109492faaf3c8 100644 (file)
@@ -109,7 +109,7 @@ public class MS2Debounce extends Activity
                poll_time = module.getPoll();
 
                TextView text = (TextView)findViewById(R.id.text);
-               text.setText("Current status:\n\nModule loaded: " + loaded + "\n" +
+               text.setText("Module loaded: " + loaded + "\n" +
                        "debounce_delay: " + debounce_delay + "ms\n" + 
                        "settle_time: " + settle_time + "us\n" + 
                        "poll_time: " + poll_time + "ms\n" + 
Impressum, Datenschutz