commit | 86e11906597167694ce1919c4c25d747f793112d | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Tue Sep 06 16:03:27 2022 +0000 |
committer | Vishnu Nair <vishnun@google.com> | Tue Sep 06 16:03:30 2022 +0000 |
tree | 02a33670d4286fa555602820857b45265315feef | |
parent | d9dd2418f8a4e167e26897a29a9c7560ba3a187c [diff] |
SurfaceFlinger: Fix layer creation race While we create a new layer, the main thread may wake up and set the layer parent which means we will start traversing the layer parents in the binder thread. Fix this by updating the transform hint which checks the parents before pass the layer creation request to the main thread. Change-Id: Icb87fb4c33bb3a110169d885398f628df319de88 Test: presubmit Fixes: 243122612