summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTetsutoki Shiozawa <tetsutoki.shiozawa@sony.com>2017-11-01 11:38:34 +0900
committerTakamasa Kuramitsu <takamasa.kuramitsu@sony.com>2017-11-08 16:46:09 +0900
commit978e7f87cc0c1d2ff140694ec150c8eca10bfee6 (patch)
tree065cc61e9fa10a7b28ccb9cf979bdc8e1d65da19 /tools/aapt2/java/JavaClassGenerator.cpp
parentee56b4a65c4fcaf512137a8c97410cee34661630 (diff)
Fix: WindowManagerGlobal#setStoppedState failed by IOOBE
Symptom: An application crashed due to IndexOutOfBoundsException. The exception was thrown at WindowManagerGlobal#setStoppedState. Root cause: setStoppedState invokes setWindowStopped for each ViewRoot by ascending order. If an application removes its view within the loop, loop index exceeds the number of items. Solution: Loop in descending order. Bug: 69018607 Change-Id: I7e20282dc99b767912be4e00d81ffb49fe6c7ac0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions