summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2017-01-25 19:45:34 -0800
committerAndrii Kulian <akulian@google.com>2017-01-26 11:21:38 -0800
commit367ff7fd5251790ad8dc086bd386be8cba1dda5c (patch)
treeef0914021215f1a2d49a4fbeccfffba6929548bb /tools/aapt2/diff/Diff.cpp
parentb922d1f9e68a0759cab586c8e1e28ab0e264a4c0 (diff)
Fix shared dim layer not cleared when all users removed
For secondary display, shared fullscreen dim layer user is the only stack that is present on the display. When this stack is removed the shared dim layer was not cleared. Because of that it was crashing when trying to obtain DisplayContent from it. Now when we're removing a dim layer user we check if we've removed the last one and clear shared fullscreen dim layer if needed. Bug: 34367817 Test: bit FrameworksServicesTests:com.android.server.wm.DimLayerControllerTests Change-Id: I415196a345c491eddd26a55370bb819ce6485151
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions