+5
−0
+1
−0
+53
−0
+33
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Routing is done per AudioProductStrategy. For instance routing media is done by using the AudioProductStrategy that supports the AudioAttributes with USAGE_MEDIA. Routing is for a connected device, AudioDeviceInfo, or for on a device that is not currently connected, uniquely specified by its role, type and address. Preferred routing can be set, removed, queried (get). When audioserver crashes, AudioService restores the preferred routing operating on the audio policy engine. Bug: 144440677 Test: atest AudioServiceHostTest#PreferredDeviceRoutingTest Change-Id: I0647608088fe2906e78b71341615975a56747c2f