Android security 10.0.0 release 53
SF: update mInputFlinger on main thread
mInputFlinger can be accessed by bootFinished() and updateInputFlinger().
These function can run in different thread at the same time, but
mInputFlinger was not protected.
update mInputFlinger on main thread
Test: adb shell stop / start
Test: boot ok
Test: Race was only reproducible in monkey tests
(cherry picked from commit 58fbf9fb2c82ee09b0d572e0936b8370c4d35aef)
1 file changed