return debounce_delay;
}
+ public synchronized void setDelay(int delay) {
+ if (isLoaded()) {
+ if (getDelay() == delay) {
+ return;
+ }
+
+ unloadModule();
+ }
+
+ loadModule(delay);
+ }
+
public synchronized boolean is_safe_to_load() {
SharedPreferences settings = ctx.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE);
boolean safe_to_load = settings.getBoolean("safe_to_load", false);