commit | 3c9fb156e6585049f4e8f7992542aca307f0be13 | [log] [tgz] |
---|---|---|
author | Chris Banes <chrisbanes@google.com> | Fri Aug 05 09:44:47 2016 +0100 |
committer | Chris Banes <chrisbanes@google.com> | Fri Aug 05 10:20:24 2016 +0100 |
tree | d89d42e5376fc8602a9e598d50c72d0bd9c8c516 | |
parent | dcac6f866b579f83f5e331724a3788d7caa3d2d9 [diff] |
Speculative fix for exception in CoordinatorLayout.onLayout Caused by a prepareChildren call in onChildViewRemoved(). If a child is removed in the middle of a layout pass, the count is wrong and we hit an IndexOutOfBoundsException. Fixed by removing the prepareChildren call, which also fixes onDependentViewRemoved() which was broken in I1283f72c312824ee3ed1fd4b0bb7e7405f38cb2b. BUG: 30252077 Change-Id: Ifce3178cf69685d519c859c2ebd6402b744204b1