commit | f54d3e044a3ff886e38be3c1aaea469de7cd724c | [log] [tgz] |
---|---|---|
author | Robert Shih <robertshih@google.com> | Wed Sep 02 16:46:59 2015 -0700 |
committer | Josue Rivera <prbassplayer@gmail.com> | Sun Nov 08 05:16:24 2015 +0100 |
tree | 3e700a06d3717f053f72f39a844691ff4a078b89 | |
parent | d0af906789b8ec5355d5f7f91631a9dc5776c4d7 [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