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