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
Loading
Please register or sign in to comment