diff options
author | Vishnu Nair <vishnun@google.com> | 2020-05-08 11:05:58 -0700 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2020-05-08 18:10:47 +0000 |
commit | 4880a30fe08ab165538381a3e8572a9015638539 (patch) | |
tree | 6de80580ed1bfb9a733122939d932c4d049c955d /tools/aapt2/diff/Diff.cpp | |
parent | 0b17a06762fa2f3c68dc147dfc65737f703357b1 (diff) |
Remove divider view when exiting splitscreen
Remove and re add divider view as needed so we do not allocate memory
while split screen is not active. Also release surface reference from
server when we are done with the SurfaceControl so we don't have to rely
on GC to remove the last reference.
Fixes: 150190730
Test: test split screen manually, check for offscreen or onscreen
divider layers in winscope
Change-Id: I1a6a1c1d4346aafeae85aaf61ec4df23722e75ab
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions