Add Connection.setStatusHints

This CL allows a connection to specify a status hint. The hint
contains a label and icon that can be displayed in the InCallUI.
For example, wifi calling can set a wifi icon and ssid.

Change-Id: I125628b74784d2303b9a429038a9f7ee604f241e
This commit is contained in:
Sailesh Nepal
2014-07-08 21:48:22 -07:00
parent 24ae29623f
commit e7ef59a77d
11 changed files with 241 additions and 4 deletions

View File

@@ -335,6 +335,15 @@ final class ConnectionServiceAdapter implements DeathRecipient {
}
}
void setStatusHints(String callId, StatusHints statusHints) {
for (IConnectionServiceAdapter adapter : mAdapters) {
try {
adapter.setStatusHints(callId, statusHints);
} catch (RemoteException e) {
}
}
}
/**
* Set the features associated with the given call.
* Features are defined in {@link android.telecomm.CallFeatures} and are passed in as a