]> git.zerfleddert.de Git - ms2-fixes/blame_incremental - MS2Debounce/src/de/rmdir/ms2debounce/DebounceBootReceiver.java
replace useless drive inactive toggle with toggle for active high
[ms2-fixes] / MS2Debounce / src / de / rmdir / ms2debounce / DebounceBootReceiver.java
... / ...
CommitLineData
1package de.rmdir.ms2debounce;
2
3import android.content.BroadcastReceiver;
4import android.content.Context;
5import android.content.Intent;
6
7public class DebounceBootReceiver extends BroadcastReceiver{
8 @Override
9 public void onReceive(Context context, Intent intent) {
10 if("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())) {
11 DebounceModuleHelper module = new DebounceModuleHelper(context);
12
13 if (module.get_on_boot() && module.is_safe_to_load()) {
14 module.loadModule();
15 }
16 }
17 }
18}
Impressum, Datenschutz