Merge "Factor our mChildrenChanged from doTransaction" into sc-dev am: 0aa188a360

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14949463

Change-Id: If979681cee306fd93b4254e6331fb1a1e2400417