initial version
[headphoneindicator.git] / src / de / cweiske / headphoneindicator / Autostart.java
1 package de.cweiske.headphoneindicator;
2
3 import android.content.BroadcastReceiver;
4 import android.content.Context;
5 import android.content.Intent;
6
7 /**
8  * Called when the phone finishes booting.
9  *
10  * @author Christian Weiske, cweiske@cweiske.de
11  */
12 public class Autostart extends BroadcastReceiver {
13
14     @Override
15     public void onReceive(Context context, Intent intent) {
16         context.startService(new Intent(context, BackgroundService.class));
17     }
18 }