summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2014-09-25 14:49:26 -0700
committerCraig Mautner <cmautner@google.com>2014-09-30 15:05:37 -0700
commit49a2edf92ab9b02762a2c183809fdee55b0fcf40 (patch)
tree286b9df16fadb028ae56fd855f3a62ae54cc2e44 /tools/aapt2/java/JavaClassGenerator.cpp
parentbc156ba430d286aaab8deb7bbb3bccc655cd2e92 (diff)
Call Surface.release() for starting windows
If the window maanger received BinderDied for a starting window before activity manager then it would null AppWindowToken.startingWindow and not go through the PhoneWindowManager.removeStartingWindow call later. That meant that Surface.release() was never called from ViewRootImpl.dispatchDetachedFromWindow(). Which in turn meant that graphics memory was being leaked. This change notifies the PhoneWindowManager to go through the removeStartingWindow path when the starting window gets removed for any reason. This change also ensures that scheduleRemoveStartingWindow is always called with the window manager lock held. Fixes bug 17381033. Change-Id: Ic6860d0e1410c9bb5053d85ae21a08b11f573b6d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions