commit | 580c142042cce4c44144e4fb6c2f486ea03ef320 | [log] [tgz] |
---|---|---|
author | Robert Shih <robertshih@google.com> | Wed Sep 02 16:46:59 2015 -0700 |
committer | The Android Automerger <android-build@android.com> | Wed Oct 21 11:45:08 2015 -0700 |
tree | f1f5b504e219c19ce2a207ba3f52744525a0b54d | |
parent | 885b057ea91ee6e85ccb27fe8392cd30a27994c5 [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