2017-01-29 16:52:43 +08:00
|
|
|
package com.topjohnwu.magisk.receivers;
|
|
|
|
|
|
|
|
import android.content.BroadcastReceiver;
|
|
|
|
import android.content.Context;
|
|
|
|
import android.content.Intent;
|
|
|
|
|
2017-02-17 08:51:51 +08:00
|
|
|
import com.topjohnwu.magisk.services.BootupIntentService;
|
2017-01-29 16:52:43 +08:00
|
|
|
|
|
|
|
public class BootReceiver extends BroadcastReceiver {
|
2017-02-05 22:02:14 +08:00
|
|
|
|
2017-01-29 16:52:43 +08:00
|
|
|
@Override
|
|
|
|
public void onReceive(Context context, Intent intent) {
|
2017-02-07 06:02:06 +08:00
|
|
|
context.startService(new Intent(context, BootupIntentService.class));
|
|
|
|
}
|
|
|
|
|
2017-01-29 16:52:43 +08:00
|
|
|
}
|