commit | 122dc57fae437a790c5824622bf4d393bf48dc54 | [log] [tgz] |
---|---|---|
author | Hayden Gomes <haydengomes@google.com> | Fri Jun 12 15:02:24 2020 -0700 |
committer | Hayden Gomes <haydengomes@google.com> | Fri Jun 12 16:41:12 2020 -0700 |
tree | bcc5da17bb2f20ac5a5258eec67703850ad11902 | |
parent | 044b987ee220b401aa5b4320e35b27f50bb727b8 [diff] |
Fixing createAudioPatch to use handleId for comparison - Updated CarAudioPatchHandle.represents to only compare handleIds and not sinks/sources - Updating releaseAudioPatch to use AudioManager#listAudioPatches - Adding null check to releaseAudioPatch Bug: 155646578 Test: atest CarAudioManagerSystemTest#createAudioPatch_returnsPatchHandle Change-Id: I83afed93854770ce3e92408aaee54fe864283792
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.