diff options
author | Nancy Chen <nancychen@google.com> | 2015-08-26 16:12:56 -0700 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2015-08-26 16:12:56 -0700 |
commit | 17db928b33a41874456b50f37c715f4114aaab42 (patch) | |
tree | 55253c7f491699b5a048cc1797be4d0fe687ce9a /src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java | |
parent | b3342e14d3bfb6dd9a9133ece30350e2781dddac (diff) |
Do not call "onPrepared" unless the media player is prepared.
In setPlaybackView, if the MediaPlayer is not null, onPrepared is
called. However, there can be a race condition where the MediaPlayer is
not null, but also not yet prepared (since preparation is an
asynchronous call).
Bug: 23228984
Change-Id: I1536de9b2c67c0ae796224a717b1047fac0a8da4
Diffstat (limited to 'src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java')
0 files changed, 0 insertions, 0 deletions