commit | 978e7f87cc0c1d2ff140694ec150c8eca10bfee6 | [log] [tgz] |
---|---|---|
author | Tetsutoki Shiozawa <tetsutoki.shiozawa@sony.com> | Wed Nov 01 11:38:34 2017 +0900 |
committer | Takamasa Kuramitsu <takamasa.kuramitsu@sony.com> | Wed Nov 08 16:46:09 2017 +0900 |
tree | 065cc61e9fa10a7b28ccb9cf979bdc8e1d65da19 | |
parent | ee56b4a65c4fcaf512137a8c97410cee34661630 [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