diff options
author | Andrii Kulian <akulian@google.com> | 2018-04-02 23:14:18 -0700 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2018-04-02 23:14:18 -0700 |
commit | 8cc92ac6f3efb57cd5da8def9509f7defe56d50d (patch) | |
tree | 62ce24f11ea5c8235a331d8c76597cd347a95f17 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ae202c6fda0e8075116356d4fb0753bd8acea3e1 (diff) |
Prevent exception when stack being removed on crash
When an application has crashed, a request to finish activities
may remove some stacks, which was causing total number of display
children to be reduced and indexing error in a loop.
This CL removes optimization and always checks display child
count in the loop.
Bug: 76096678
Test: ActivityStackSupervisorTest#testRemovingStackOnAppCrash
Change-Id: I0d09dde9f5bef5a20f15dd06bddaccbd73679cdf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions