commit | 2a5c025ed6f64d033f4062a502bf3c99198a1adf | [log] [tgz] |
---|---|---|
author | Robert Shih <robertshih@google.com> | Wed Sep 02 16:46:59 2015 -0700 |
committer | The Android Automerger <android-build@android.com> | Mon Sep 28 16:26:36 2015 -0700 |
tree | d219994e7eff555f7504f8cf5d5a38445000db08 | |
parent | 5b29dd5e07f3e21880e0752da0f78cd9314421e5 [diff] |
Zero out return values in media binder calls More specifically when handling: * GET_STREAM_VOLUME in IAudioPolicyService, and * GET_CURRENT_POSITION and GET_DURATION in IMediaPlayer This prevents leaking uninitialized values across binder in error cases. Bug: 23756261 Change-Id: I0ffd900ab12b685b0611259ade4a3efb1ec5defe