That fuck shit the fascists are using
1package org.tm.archive.gcm;
2
3import android.app.Service;
4import android.content.Intent;
5import android.os.IBinder;
6
7import androidx.annotation.Nullable;
8
9import org.signal.core.util.logging.Log;
10
11/**
12 * Works with {@link FcmFetchManager} to exists as a service that will keep the app process running in the background while we fetch messages.
13 */
14public class FcmFetchBackgroundService extends Service {
15
16 private static final String TAG = Log.tag(FcmFetchBackgroundService.class);
17
18 @Override
19 public int onStartCommand(Intent intent, int flags, int startId) {
20 return START_STICKY;
21 }
22
23 @Override
24 public void onDestroy() {
25 Log.i(TAG, "onDestroy()");
26 }
27
28 @Override
29 public @Nullable IBinder onBind(Intent intent) {
30 return null;
31 }
32}
33