commit | ae89b1f67f7273c8786659e96258f7f75c5ebd8f | [log] [tgz] |
---|---|---|
author | Oscar Azucena <oscarazu@google.com> | Tue Sep 01 15:34:08 2020 -0700 |
committer | Oscar Azucena <oscarazu@google.com> | Thu Sep 03 16:25:57 2020 -0700 |
tree | 4b7bbfde8ead5e36bb9bb72bdd3ffa4fcc334738 | |
parent | 42d366ec171121a9800b7ba7a07210743cb5be9c [diff] |
Added error for set zone for uid API Added more informative error to setZoneIdForUid and clearZoneIdForUid, instead of silently failing to changed routing. Error will inform user that the APIs do not work in conjuction wil occupant zone mapping. Bug: 162864560 Test: atest CarAudioManagerSystemTest Change-Id: Id5ddfffd75788a39a885541b7e828bf5a119ce6e Merged-In: Id5ddfffd75788a39a885541b7e828bf5a119ce6e (cherry picked from commit f2faa5de7d8ad7e15e9e3149d245054c9c9fa721)
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.