X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/ms2-fixes/blobdiff_plain/08fec0be398954b85575af913448efa8a2e34d19..74240c366d195768836671286497fa8b6909a523:/MS2Debounce/src/de/rmdir/ms2debounce/DebounceBootReceiver.java diff --git a/MS2Debounce/src/de/rmdir/ms2debounce/DebounceBootReceiver.java b/MS2Debounce/src/de/rmdir/ms2debounce/DebounceBootReceiver.java index cc072b0..b60b558 100644 --- a/MS2Debounce/src/de/rmdir/ms2debounce/DebounceBootReceiver.java +++ b/MS2Debounce/src/de/rmdir/ms2debounce/DebounceBootReceiver.java @@ -10,7 +10,7 @@ public class DebounceBootReceiver extends BroadcastReceiver{ if("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())) { DebounceModuleHelper module = new DebounceModuleHelper(context); - if (module.is_safe_to_load()) { + if (module.get_on_boot() && module.is_safe_to_load()) { module.loadModule(); } }