commit | b1f9f0bf84f6c5a72a44a48c99ddd141e55829fb | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Feb 24 17:12:55 2017 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Fri Feb 24 17:12:55 2017 -0800 |
tree | 89aea67a13998db5d58a7592c85b63941a72cd80 | |
parent | b4d5ec0d8f3755ccb8d5ce51798c3004330e1120 [diff] |
audiohal: Do not extract value from Result unless it is Ok The 2-parameter version of processResult used to call the 3-param version, and for that it was extracting the value from Result. Now HIDL framework checks that it shouldn't be done if the transaction wasn't OK. Change the code so the 2-param version now only extracts the result value if the transaction has been successful. Bug: 35758741 Change-Id: I42cb5f5220e3a952b1c304840ccb3952c1707cd0 Test: make