2f04430fa4
This would have caught the race condition bugs that caused the "specified child already has a parent" IllegalStateException (bug 23896857). Change-Id: I3b408d21113237b0c89a0a7161f504596212bd58