Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Android] Post instead SendMessage to stop playing on SCREEN_OFF #15574
On SCREEN_OFF intent we SendMessage a stopPlaying message to the main thread which can lock the render workflow. PostMessage solves this lock.
Motivation and Context
ANR count in google play store
How Has This Been Tested?
Play video on phone, switch display off / on.
Types of change