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 6a46fbb..f790c58 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 87b5369..08ce61d 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