That fuck shit the fascists are using
at master 27 lines 590 B view raw
1package org.tm.archive.service; 2 3import android.app.Service; 4import android.content.Intent; 5import android.os.IBinder; 6 7import androidx.annotation.Nullable; 8 9import org.tm.archive.contacts.ContactsSyncAdapter; 10 11public class ContactsSyncAdapterService extends Service { 12 13 private static ContactsSyncAdapter syncAdapter; 14 15 @Override 16 public synchronized void onCreate() { 17 if (syncAdapter == null) { 18 syncAdapter = new ContactsSyncAdapter(this, true); 19 } 20 } 21 22 @Nullable 23 @Override 24 public IBinder onBind(Intent intent) { 25 return syncAdapter.getSyncAdapterBinder(); 26 } 27}