Files
frameworks_base/core/java/android/view
Tetsutoki Shiozawa 978e7f87cc 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
2017-11-08 16:46:09 +09:00
..
2017-08-07 17:22:50 -07:00
2017-06-19 14:06:21 -07:00
2017-08-10 12:31:34 -07:00
2017-08-02 10:46:22 -07:00