commit | e67e893d0642dd345e4d7d1cc3e76b1f0936dae8 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Tue Jan 24 10:37:10 2017 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Tue Jan 24 10:37:10 2017 -0800 |
tree | 5c37a597c915ad87867b39022e3658504a747987 | |
parent | ceec4a06595253a6dcc167064f318e470e1c3b58 [diff] |
audiohal: Check the result from IAllocator::allocate The code wasn't checking the return from IAllocator::allocate resulting in a crash from HIDL framework when there was an error. Bug: 34635658 Change-Id: Ia6146ec0be972f261d35852fdc44302b67e44898 Test: Run android.media.cts.AudioTrackTest#testPlayStreamData