1
0
mirror of https://github.com/moparisthebest/SSLDroid synced 2024-11-23 09:22:16 -05:00

Initial support for on-boot startup

Signed-off-by: Balint Kovacs <blint@blint.hu>
This commit is contained in:
Balint Kovacs 2011-03-25 11:43:04 +01:00
parent 769f2768dc
commit 36414ea0b9

View File

@ -0,0 +1,14 @@
package hu.blint.ssldroid;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class BootStartupReceiver extends BroadcastReceiver{
@Override
public void onReceive(Context context, Intent intent) {
Intent serviceIntent = new Intent();
serviceIntent.setAction("hu.blint.ssldroid.SSLDroid");
context.startService(serviceIntent);
}
}