diff options
author | Wale Ogunwale <ogunwale@google.com> | 2016-03-05 22:38:51 -0800 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2016-03-07 10:09:05 -0800 |
commit | 33fde7d098d6fb68bfacc390f5f5a2cf865a203b (patch) | |
tree | a1325946613ed363d226713eb5f1bc2fa4474f5a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 10b6e07717f2cd80952200ddb6dabe20052e9eea (diff) |
Fixed IndexOutOfBoundsException when removing child windows
The size of the list reduces when a child window is removed from the
list. So, we copy the window list and loop from the last entry to the
first when removing to avoid IndexOutOfBoundsException.
Bug: 27345523
Change-Id: I15986e418d29ee5035dc9d4c4f728ad33bfe6999
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions