commit | 33fde7d098d6fb68bfacc390f5f5a2cf865a203b | [log] [tgz] |
---|---|---|
author | Wale Ogunwale <ogunwale@google.com> | Sat Mar 05 22:38:51 2016 -0800 |
committer | Wale Ogunwale <ogunwale@google.com> | Mon Mar 07 10:09:05 2016 -0800 |
tree | a1325946613ed363d226713eb5f1bc2fa4474f5a | |
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