diff options
author | Chet Haase <chet@google.com> | 2011-12-20 07:08:51 -0800 |
---|---|---|
committer | Chet Haase <chet@google.com> | 2011-12-20 08:59:12 -0800 |
commit | baea244a9fadd6fc30c1491085d01e1fe30f8ca4 (patch) | |
tree | da3b86df4d65347319588cdd83d0d66d5d0acc65 /graphics/java/android/renderscript/RenderScript.java | |
parent | 01583ef715641c8a3ce68269b091e75adbe9335a (diff) |
Fix ViewAnimator.getDisplayedChild() bug
Adding a view above the currently displayed child in a ViewAnimator
will cause the displayed child index to become stale, because it is
not incremented to reflect the new position of the currently displayed
view. This fix adds logic to the addView() override to increment the
index correctly.
Change-Id: I9c756ce51a8e8dcbeef8f0e4fbb3704482c21e9d
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions