When a View is added to a ViewGroupOverlay, it must not be parented in another container. If it is, it will automatically be removed. This works in general, but if there is a LayoutTransition on the view's parent, then the actual removal will be delayed until the transition completes. This means that the call to add(view) in the ViewGroupOverlay's container will fail and throw an exception because the view is still parented for the duration of the LayoutTransition. This fix cancels the running transition to ensure that the view is not parented prior to adding it to the overlay's container. Issue #9303245 Crash combo: add(View) and animateLayoutChanges Change-Id: Id4eaddccf64c353fc77e020882b978cdeb14c0ef
…
…
…
…
Description
No description provided
Languages
Java
77.3%
Kotlin
9.2%
PowerBuilder
6.6%
C++
5.5%
AIDL
1%