commit | 3e2e064a1f989228f48e8faf588393a1a5ee1e31 | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Wed Jun 17 13:42:32 2015 -0700 |
committer | Alan Viverette <alanv@google.com> | Wed Jun 17 13:42:32 2015 -0700 |
tree | bf3a3447774198ab31d821cf3d48e064a9f98ab3 | |
parent | 15ce33873e2ca774a1fca666a05cc8ed79f327d7 [diff] |
Work around inconsistent views in RelativeLayout.onMeasure() Previously, RelativeLayout's measure pass could crash if the view's children were modified without calling requestLayout() prior to the next measure pass. This avoids the issue by only looking at the most recent set of sorted views and preserves the previous behavior where onMeasure() could return incorrect data. Bug: 21123292 Change-Id: If471d071d1d2e2729cf13854d95b1f517c1fe73a