commit | 8cc92ac6f3efb57cd5da8def9509f7defe56d50d | [log] [tgz] |
---|---|---|
author | Andrii Kulian <akulian@google.com> | Mon Apr 02 23:14:18 2018 -0700 |
committer | Andrii Kulian <akulian@google.com> | Mon Apr 02 23:14:18 2018 -0700 |
tree | 62ce24f11ea5c8235a331d8c76597cd347a95f17 | |
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