commit | 890ad02a565ab00748472d7ec26536fce4e52091 | [log] [tgz] |
---|---|---|
author | Hayden Gomes <haydengomes@google.com> | Thu Apr 09 15:53:58 2020 -0700 |
committer | Hayden Gomes <haydengomes@google.com> | Wed Apr 15 16:37:53 2020 -0700 |
tree | e0742d60273ff1c21e3c9755ca8224fdbeafde1e | |
parent | 998371b5fab390711ec7940328c58fd13d9fcbe4 [diff] |
Adding recovery logic for IAudioControl When HAL dies - AudioControlWrapper grabs a new HAL Handle - AudioControlWrapper calls CarAudioService#resetHalAudioFocus - resetHalAudioFocus resets HalAudioFocus and re-registers the listener Bug: 153475563 Test: atest com.android.car.audio, also manually killed audiocontrol and verified it recovered Change-Id: If689af0dc7cc1c628ae750a46a2452079a093762
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.