commit | e7e871a7eb7d65a6610cac887874aa04d5b1561a | [log] [tgz] |
---|---|---|
author | Pranav Madapurmath <pmadapurmath@google.com> | Fri Jun 21 20:50:50 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jun 21 20:50:50 2024 +0000 |
tree | f055753741a237429672da8513567ace418e7d1e | |
parent | 60959dbb4ccb38b3ce8f6e82b366845b001ced52 [diff] | |
parent | f6c3269abc589282c6a9296dad35548f3192270a [diff] |
Unbind CallScreeningService when timeout reached. am: d57f25311a am: aaba434a42 am: 274f26bf93 am: 84c5028eab am: f6c3269abc Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telecomm/+/27790553 Change-Id: I77a99bf77e80d4258c3ef36fe65ec5fc955c6ca3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/src/com/android/server/telecom/CallScreeningServiceHelper.java b/src/com/android/server/telecom/CallScreeningServiceHelper.java index 0168590..b848e4a 100644 --- a/src/com/android/server/telecom/CallScreeningServiceHelper.java +++ b/src/com/android/server/telecom/CallScreeningServiceHelper.java
@@ -176,6 +176,10 @@ Log.w(TAG, "Cancelling call id process due to timeout"); } mFuture.complete(null); + mContext.unbindService(serviceConnection); + } catch (IllegalArgumentException e) { + Log.i(this, "Exception when unbinding service %s : %s", serviceConnection, + e.getMessage()); } finally { Log.endSession(); }