Add new @hide API to pass call direction changes through Telecom

Bug: 153277327
Test: atest TelecomUnitTests
Change-Id: Icad12c4144bf185c24ee80bcbdd1aec29550bf4e
This commit is contained in:
Brad Ebinger
2020-04-08 16:25:12 -07:00
parent a18e52f648
commit 31774ae752
6 changed files with 84 additions and 1 deletions

View File

@@ -1553,6 +1553,14 @@ public abstract class ConnectionService extends Service {
}
}
@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);