diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-03-11 02:06:22 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-03-11 02:06:22 +0000 |
commit | f022dd1e6827ebf7c52b06aa40f2059a3f0f5cad (patch) | |
tree | 5ef0549cad19f7ddc205d5d9e9e79a4a65bf0d52 /telecomm/java/android/telecom/ConnectionService.java | |
parent | f9aa417072cec6397762d8c9232ce366df2804f3 (diff) | |
parent | c29882d03aedceccabb35cb78fe6f4f7992e8230 (diff) |
Snap for 7199033 from c29882d03aedceccabb35cb78fe6f4f7992e8230 to sc-release
Change-Id: I51b0ca4d4f95ab84663117cba2b9139caee11fca
Diffstat (limited to 'telecomm/java/android/telecom/ConnectionService.java')
-rwxr-xr-x | telecomm/java/android/telecom/ConnectionService.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/ConnectionService.java b/telecomm/java/android/telecom/ConnectionService.java index c189b19c71af..97a06a81072e 100755 --- a/telecomm/java/android/telecom/ConnectionService.java +++ b/telecomm/java/android/telecom/ConnectionService.java @@ -20,6 +20,7 @@ import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SdkConstant; import android.annotation.SystemApi; +import android.annotation.TestApi; import android.app.Service; import android.content.ComponentName; import android.content.Intent; @@ -1919,6 +1920,7 @@ public abstract class ConnectionService extends Service { /** {@inheritDoc} */ @Override public final IBinder onBind(Intent intent) { + onBindClient(intent); return mBinder; } @@ -1929,6 +1931,13 @@ public abstract class ConnectionService extends Service { return super.onUnbind(intent); } + /** + * Used for testing to let the test suite know when the connection service has been bound. + * @hide + */ + @TestApi + public void onBindClient(@Nullable Intent intent) { + } /** * This can be used by telecom to either create a new outgoing conference call or attach |