commit | a13051f2141aff4df6398a51ef349fb2327986e0 | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Fri Jun 14 16:41:17 2019 -0700 |
committer | chaviw <chaviw@google.com> | Fri Jun 14 17:02:16 2019 -0700 |
tree | f76a610bd1a9911d819c0b5b421e4a974f4e229d | |
parent | 9bffff9528c66562ed01e86b63c883cab98f654b [diff] |
Added missing mGlobalLock in system server The method resetFreezeTaskListReorderingOnTimeout is posted onto a handler so it loses mGlobalLock. Reacquire the lock when the runnable is invoked. Without the lock, the code enters very critical code unlocked, causing race conditions. Fixes: 135016269 Test: Hard to repro, go/wm-smoke Change-Id: Iafccc466c1aa22ff6f528e99e68a672e0dc50975