mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 20:45:17 +00:00
16 lines
423 B
Java
16 lines
423 B
Java
|
package org.thoughtcrime.securesms.service;
|
||
|
|
||
|
import android.content.BroadcastReceiver;
|
||
|
import android.content.Context;
|
||
|
import android.content.Intent;
|
||
|
|
||
|
public class BootReceiver extends BroadcastReceiver {
|
||
|
|
||
|
@Override
|
||
|
public void onReceive(Context context, Intent intent) {
|
||
|
Intent messageRetrievalService = new Intent(context, MessageRetrievalService.class);
|
||
|
context.startService(messageRetrievalService);
|
||
|
}
|
||
|
|
||
|
}
|