Skip to content
Commit 3f38f263 authored by Tiger Huang's avatar Tiger Huang
Browse files

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
parent 355062a8
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