commit | 2698c855d76b17fb2493637b9c8585bdd20b69e2 | [log] [tgz] |
---|---|---|
author | Hayden Gomes <haydengomes@google.com> | Mon Apr 12 14:02:36 2021 -0700 |
committer | Hayden Gomes <haydengomes@google.com> | Tue Apr 13 08:36:39 2021 -0700 |
tree | 17f342977cfd129b3c33be2146ff5c4894806fc9 | |
parent | d1c8566666ebd5e316bce7a77f4a74595dc45a43 [diff] |
Restructuring CarZonesAudioFocus to be unit testable - Added static createCarZonesAudioFocus - Replaced Map with SparseArray - Replaced Slog to Slogf - Added some unit tests Bug: 176258537 Test: atest CarZonesAudioFocusTest CarZonesAudioFocusUnitTest Change-Id: Ie50e7659e8a1240f6ac9550455731d9c0bfcdc89
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.