summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2014-11-20 12:13:22 -0800
committerCraig Mautner <cmautner@google.com>2014-11-20 12:13:22 -0800
commit7b4655dbbebd9e6e9394efe145a35db41a6fbfd4 (patch)
tree509f9ae9b94acd1a62ea509baf0729cd9b493264 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc70a4ccf45f669c07345cd438d68747d0558fd49 (diff)
Ensure arraylist index is montonically decreasing
A previous fix for IndexOutOfBoundsException (ag/584621) left a situation where the index would not decrement if the arraylist size didn't change. The size doesn't change if the window being removed is animating away. That caused window manager to remain in an infinite loop within removeAllWindows. This change ensures that the index diminishes each pass through the loop and doesn't exceed the bounds of the arraylist. Fixes bug 18362246. Change-Id: Ibca70d95622f3b152ede14857f0e913099dc7b88
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions