commit | f1961f713de2b3f54c8ce7653964b969e1a02bc8 | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Mon Sep 18 16:41:07 2017 -0700 |
committer | chaviw <chaviw@google.com> | Wed Sep 20 11:52:37 2017 -0700 |
tree | 00c1a633c54b33a445f8b498f11848ff03d07c0b | |
parent | 931dc01ad7c2d3eb1de276a7174cd55928d463aa [diff] |
Re-parent invoked on child instead of on parent. The function to re-parent an individual child is now invoked on the child instead of the parent. This ensures the child ends up with the last parent set if multiple reparent requests are made in the same transaction. This also allows adding a parent to a layer that didn't have one previously. Test: Transaction_test -> Reparent, ReparentToNoParent, ReparentFromNoParent Change-Id: Idab429eb2dca5a4ae1b020a5a7629d719dd4d995