INNER CODE UNIT · Java
onReceive
Gedsh/InviZible · tordnscrypt/src/main/java/pan/alexander/tordnscrypt/BootCompleteReceiver.java:46
public void onReceive(final Context context, Intent intent) {
App.getInstance().getDaggerComponent().inject(this);
if (intent == null) {
return;
}
String action = intent.getAction();
if (action == null) {
return;
}
if (action.equalsIgnoreCase(BOOT_COMPLETE)
|| action.equalsIgnoreCase(QUICKBOOT_POWERON)
|| action.equalsIgnoreCase(HTC_QUICKBOOT_POWERON)
|| action.equalsIgnoreCase(REBOOT)