diff options
author | Alan Viverette <alanv@google.com> | 2016-05-24 15:14:38 -0400 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2016-05-24 15:14:38 -0400 |
commit | 09deff1bd970bd6749d78b6c85026a9985e6a1f3 (patch) | |
tree | f972a9003923ba5a13167db63ad98c4735ebcaa7 /docs/html/sdk/api_diff/20 | |
parent | cdcc53d007d613ccfcf3a36ce22fa6823c5fe954 (diff) |
Prevent LayerDrawable bounds updates from being re-entrant
Collect child invalidations during layer bounds change, then dispatch a
single invalidation if any children requested invalidation. This prevents
re-entrance from, for example, a LayerDrawable.updateLayerBounds() call
invoking setBounds() on a child, which necessarily calls invalidateSelf()
and immediately propagates up to ImageView.invalidateDrawable(), which
then calls configureBounds() and puts us back in updateLayerBounds().
Bug: 28636072
Change-Id: I36c9eefc18904d493292d51b37e4b05cfddcf794
Diffstat (limited to 'docs/html/sdk/api_diff/20')
0 files changed, 0 insertions, 0 deletions