summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2017-04-21 13:26:55 -0700
committer Robert Carr <racarr@google.com> 2017-04-21 13:26:55 -0700
commited3e83b3d3aacf6a11607517dfd745c3a4cc6a51 (patch)
tree32ade70fe040d18a89c3344bc0946152ed97ae09 /libs/hwui/ProgramCache.cpp
parent106527e21e63a6c5b8f4b1dc6dcb608bdff98d27 (diff)
Prevent leak of AppWindowTokens.
We need to check to remove ourselves from our previous parents exiting app list not the list of our new parents. If we check AOSP master AppWindowToken L333 we can see it used to work this way. This is causing the abandoned starting window buffer queue bugs in 36703921 by also triggering a leak of the startingdata and the assosciated viewrootimpl, though the surface ends up destroyed. Bug: 36703921 Test: Open app, hit back, verify dumpsys window displays "Exiting App Tokens" doesn't grow by one each time. Change-Id: I07a4df82b2694e9d0eaa1b9299d233c3aa496c3e
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions