Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 72c8b066 authored by Kuowei Li's avatar Kuowei Li Committed by Dorin Drimus
Browse files

audio: support restoreTrack for direct and offload track

1. For direct and offload track, setOutputDevice() must be called
at stopped or flushed state.
2. Since mRoutedDeviceId will not be updated immediatly when default
device in policy is changed, do not check mRoutedDeviceId in
setOutputDevice().

Bug: 297164626
Test: Manual

Change-Id: I323a6bbf7be9f757851d3adf25681d034deb8b22
parent d971c58c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment