Merge "Return generic Binder on onBind" am: c6613f7206

am: 2a71bd5150

Change-Id: Ie447b8094ca9c483aac3886c795240301b5f2ace
This commit is contained in:
Brad Ebinger
2017-03-08 20:06:26 +00:00
committed by android-build-merger

View File

@@ -19,6 +19,7 @@ package android.telephony.ims;
import android.annotation.SystemApi;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
/**
@@ -30,8 +31,15 @@ import android.os.IBinder;
@SystemApi
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
public IBinder onBind(Intent intent) {
return null;
return mConnection;
}
}