commit | 3f38f2630e52f3f40cce36c50d61181764e86dbd | [log] [tgz] |
---|---|---|
author | Tiger Huang <tigerhuang@google.com> | Wed Dec 18 21:08:40 2019 +0800 |
committer | Tiger Huang <tigerhuang@google.com> | Wed Dec 18 21:26:56 2019 +0800 |
tree | 76f7049426753367ef20e965f11b0d76d84d5cb7 | |
parent | 355062a8c35bd499b665db078711882fefc7e3a6 [diff] |
Call layoutAndAssignWindowLayersIfNeeded while holding mGlobalLock This method should be protected by the lock because itself or its downstream methods access fields which need to be protected by mGlobalLock. Bug: 118118435 Test: 1. Replace the pending transaction in WindowContainer with LockDebuggingTransaction in ag/9944628. 2. Switch to the new insets mode. 3. Let an app to control the system bars and see if system crashes. Change-Id: I08b0fb88d6ceb51139d24f161269017312c0cd5f