Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fca3afd authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Return generic Binder on onBind" am: c6613f72

am: 2a71bd51

Change-Id: Ie447b8094ca9c483aac3886c795240301b5f2ace
parents c162879c 2a71bd51
Loading
Loading
Loading
Loading
+9 −1
Original line number Original line Diff line number Diff line
@@ -19,6 +19,7 @@ package android.telephony.ims;
import android.annotation.SystemApi;
import android.annotation.SystemApi;
import android.app.Service;
import android.app.Service;
import android.content.Intent;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.os.IBinder;


/**
/**
@@ -30,8 +31,15 @@ import android.os.IBinder;
@SystemApi
@SystemApi
public class ImsServiceBase extends Service {
public class ImsServiceBase extends Service {


    /**
     * Binder connection that does nothing but keep the connection between this Service and the
     * framework active. If this service crashes, the framework will be notified.
     */
    private IBinder mConnection = new Binder();

    @Override
    @Override
    public IBinder onBind(Intent intent) {
    public IBinder onBind(Intent intent) {
        return null;
        return mConnection;
    }
    }

}
}