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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user