summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
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
commit8cc92ac6f3efb57cd5da8def9509f7defe56d50d (patch)
tree62ce24f11ea5c8235a331d8c76597cd347a95f17 /libs/hwui/ProgramCache.cpp
parentae202c6fda0e8075116356d4fb0753bd8acea3e1 (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 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions