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 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) {