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

Skip to content
Commit 25bb0474 authored by Srinu Gorle's avatar Srinu Gorle Committed by Arne Coucheron
Browse files

frameworks/base : correct media player state from pause to start state.

In suspend resume scenarios, when player engine in prepare(), mediaplayer state
is corrected from MEDIA_PLAYER_STARTED to MEDIA_PLAYER_PAUSED state.
Media player never recoverd back to MEDIA_PLAYER_STARTED though player engine in start state.

Added a check, if the media player in MEDIA_PLAYER_PAUSED & player return state as play,
correct the media player state to MEDIA_PLAYER_STARTED.

Change-Id: Idcb34f3b344188e1a4693064a85ee7171cf10ef2
CRs-Fixed: 282576
parent c0fad8a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment