commit | e0c12f4b88be5765671668c63840e5b18083d306 | [log] [tgz] |
---|---|---|
author | Brad Ebinger <breadley@google.com> | Wed Apr 08 16:25:12 2020 -0700 |
committer | Brad Ebinger <breadley@google.com> | Mon Apr 20 12:14:33 2020 -0700 |
tree | 8eb1437c44c6f3be5599e3d09971653a23e9a129 | |
parent | 28b71ac4158603b9be3a0d6bbf5739ff71a3646b [diff] [blame] |
Add new @hide API to pass call direction changes through Telecom Bug: 153277327 Fixes: 154245581 Test: atest TelecomUnitTests Merged-In: Icad12c4144bf185c24ee80bcbdd1aec29550bf4e Change-Id: Icad12c4144bf185c24ee80bcbdd1aec29550bf4e
diff --git a/telecomm/java/android/telecom/ConnectionService.java b/telecomm/java/android/telecom/ConnectionService.java index 0dca006..ecc1d03 100755 --- a/telecomm/java/android/telecom/ConnectionService.java +++ b/telecomm/java/android/telecom/ConnectionService.java
@@ -1554,6 +1554,14 @@ } @Override + public void onCallDirectionChanged(Conference c, int direction) { + String id = mIdByConference.get(c); + if (id != null) { + mAdapter.setCallDirection(id, direction); + } + } + + @Override public void onAddressChanged(Conference c, Uri newAddress, int presentation) { String id = mIdByConference.get(c); if (id != null) {