Loading play-services-base-core/src/main/java/org/microg/gms/BaseService.java +4 −2 Original line number Diff line number Diff line Loading @@ -16,12 +16,13 @@ package org.microg.gms; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.os.RemoteException; import android.util.Log; import androidx.lifecycle.LifecycleService; import com.google.android.gms.common.internal.GetServiceRequest; import com.google.android.gms.common.internal.IGmsCallbacks; import com.google.android.gms.common.internal.IGmsServiceBroker; Loading @@ -31,7 +32,7 @@ import org.microg.gms.common.GmsService; import java.util.Arrays; import java.util.EnumSet; public abstract class BaseService extends Service { public abstract class BaseService extends LifecycleService { private final IGmsServiceBroker broker; protected final String TAG; Loading @@ -55,6 +56,7 @@ public abstract class BaseService extends Service { @Override public IBinder onBind(Intent intent) { super.onBind(intent); Log.d(TAG, "onBind: " + intent); return broker.asBinder(); } Loading Loading
play-services-base-core/src/main/java/org/microg/gms/BaseService.java +4 −2 Original line number Diff line number Diff line Loading @@ -16,12 +16,13 @@ package org.microg.gms; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.os.RemoteException; import android.util.Log; import androidx.lifecycle.LifecycleService; import com.google.android.gms.common.internal.GetServiceRequest; import com.google.android.gms.common.internal.IGmsCallbacks; import com.google.android.gms.common.internal.IGmsServiceBroker; Loading @@ -31,7 +32,7 @@ import org.microg.gms.common.GmsService; import java.util.Arrays; import java.util.EnumSet; public abstract class BaseService extends Service { public abstract class BaseService extends LifecycleService { private final IGmsServiceBroker broker; protected final String TAG; Loading @@ -55,6 +56,7 @@ public abstract class BaseService extends Service { @Override public IBinder onBind(Intent intent) { super.onBind(intent); Log.d(TAG, "onBind: " + intent); return broker.asBinder(); } Loading