commit | 14d7692c0f7c0ad9d8a26c9c85033c48eb6c007f | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Mon Aug 05 08:41:20 2019 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Mon Aug 05 08:41:20 2019 -0700 |
tree | d52f854656fc1c1c5eda52b1db43033d08308a76 | |
parent | 61eba0db9dc4a16ed37fd9f091b02abc65803985 [diff] |
Reparent children before reparenting to null When we reparent a layer to null, we remove its child layers from current state and remove their relative z. If the children are reparented in the same transaction, then we have to make sure we reparent the children first so we do not lose their relative z order. Test: atest SurfaceFlinger_test Bug: 132205507 Change-Id: I6b73758065c7eb46ac3b60a1b40f6839be24b09c