commit | 892354335d49f0b9fcd10e20e0c13e3cd0f1f1cb | [log] [tgz] |
---|---|---|
author | Robert Shih <robertshih@google.com> | Wed Sep 02 16:46:59 2015 -0700 |
committer | Robert Shih <robertshih@google.com> | Wed Sep 02 17:48:22 2015 -0700 |
tree | fc309fc843d7c9a627b59f0771c02edf4d1375ba | |
parent | f394f12167fddbc755855d06b615509517c99f14 [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