mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 04:25:18 +00:00
17 lines
510 B
Java
17 lines
510 B
Java
package org.thoughtcrime.securesms.service;
|
|
|
|
import android.content.BroadcastReceiver;
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
|
|
import org.thoughtcrime.securesms.ApplicationContext;
|
|
import org.thoughtcrime.securesms.jobs.PushNotificationReceiveJob;
|
|
|
|
public class BootReceiver extends BroadcastReceiver {
|
|
|
|
@Override
|
|
public void onReceive(Context context, Intent intent) {
|
|
ApplicationContext.getInstance(context).getJobManager().add(new PushNotificationReceiveJob(context));
|
|
}
|
|
}
|