]> git.zerfleddert.de Git - ms2-fixes/blob - MS2Debounce/src/de/rmdir/ms2debounce/DebounceBootReceiver.java
2f97c2c955a42329463379397364d8a33d19396f
[ms2-fixes] / MS2Debounce / src / de / rmdir / ms2debounce / DebounceBootReceiver.java
1 package de.rmdir.ms2debounce;
2
3 import android.content.BroadcastReceiver;
4 import android.content.Context;
5 import android.content.Intent;
6
7 public 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 Intent debouncesvc = new Intent(context, DebounceService.class);
12 context.startService(debouncesvc);
13 }
14 }
15 }
Impressum, Datenschutz