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

@@ -201,6 +201,14 @@ final class RemoteConnectionService implements DeathRecipient {
mConnection.setAudioModeIsVoip(isVoip);
}
}
/** ${inheritDoc} */
@Override
public final void setStatusHints(String connectionId, StatusHints statusHints) {
if (isCurrentConnection(connectionId)) {
mConnection.setStatusHints(statusHints);
}
}
};
RemoteConnectionService(ComponentName componentName, IConnectionService connectionService)