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

Skip to content
Commit a1dbd23b authored by Chao Zhang's avatar Chao Zhang Committed by Gerrit - the friendly Code Review server
Browse files

Gallery2: fix video play abnormal when screen is locked.

play video --> lock screen --> call in --> refuse the call.
after this step, screen is locked, but video is resume playing because
 CodeauroraVideoView's doPrepared() is called.

add a check of KeyguardManager.inKeyguardRestrictedInputMode() in
CodeauroraVideoView.doPreparedIfReady() like MovieActivity.

Change-Id: I19d9da0d23ca490e5038316d6b982099b8280aba
CRs-Fixed: 945013
parent 77852d34
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