commit | a0292284fa4f80b29a7e931209aa535bba54b735 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Sat Dec 16 14:32:00 2023 -0800 |
committer | Vishnu Nair <vishnun@google.com> | Sat Dec 16 14:32:38 2023 -0800 |
tree | 7d1b4609310e12bf4ea1176cd0742a6e06473841 | |
parent | 8597755c385471ef4bf2286558d381b5ef8c94bb [diff] |
Detect and recover from relative z loops The caller can create loops in the hierarchy by relatively reparenting layers to each other. This can be done directly or via a chain of layers. The logic to detect and fix this was not being called. Fix this by making loop detection a bit harder to ignore and part of hierarchy builder's update call. Test: presubmit Bug: 316236833 Change-Id: I484f9b8e2742fef22a5d76362a715eb6850c26f6