Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17db928b authored by Nancy Chen's avatar Nancy Chen
Browse files

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
parent b3342e14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment