Add ability to set supported audio routes on phone accounts and connection
The set audio routes are used by Telecom to restrict where the audio may be routed to. For example, an account can specify that calls may not be routed over bluetooth headsets, which will prevent a new call from being routed to this source. This is a cherry-pick of abandoned ag/1521009. Bug: 32958838 Change-Id: Idd5e4d38b157f11454f3d991385644f2f384596e
This commit is contained in:
committed by
Hall Liu
parent
fbeacb02c0
commit
2830ce9a09
@@ -1131,6 +1131,7 @@ public abstract class ConnectionService extends Service {
|
||||
connection.getState(),
|
||||
connection.getConnectionCapabilities(),
|
||||
connection.getConnectionProperties(),
|
||||
connection.getSupportedAudioRoutes(),
|
||||
connection.getAddress(),
|
||||
connection.getAddressPresentation(),
|
||||
connection.getCallerDisplayName(),
|
||||
@@ -1530,6 +1531,7 @@ public abstract class ConnectionService extends Service {
|
||||
connection.getState(),
|
||||
connection.getConnectionCapabilities(),
|
||||
connection.getConnectionProperties(),
|
||||
connection.getSupportedAudioRoutes(),
|
||||
connection.getAddress(),
|
||||
connection.getAddressPresentation(),
|
||||
connection.getCallerDisplayName(),
|
||||
|
||||
Reference in New Issue
Block a user