summaryrefslogtreecommitdiff
path: root/tools/aapt/ResourceTable.cpp
diff options
context:
space:
mode:
author Wale Ogunwale <ogunwale@google.com> 2014-11-10 12:12:27 -0800
committer Wale Ogunwale <ogunwale@google.com> 2014-11-10 15:32:59 -0800
commit98e70d0908eaf259ac21fc75b252be3c25d788c3 (patch)
treec3240c8ba73056489755b8a849c53b90054d5ca6 /tools/aapt/ResourceTable.cpp
parente2e649f5371857e0df41356512c6e06663ba8577 (diff)
Fixed index out of bounds issue when removing windows.
Child windows are also removed when WMS.removeWindowInnerLocked() is called to removed a window. This causes the number of windows to decrement by more than 1 which causes an out of bounds exception in AppWindowToken.removeAllWindows() which was expecting a decrement of 1. Changed code to only continue looping if the size of the Windows array is still greater than 0. Bug: 18202119 Change-Id: I6124717272c552ec98e89cbacaadcd964fdba02e
Diffstat (limited to 'tools/aapt/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions