diff options
author | Tony Huang <tonyychuang@google.com> | 2020-04-20 17:38:37 +0800 |
---|---|---|
committer | Tony Huang <tonyychuang@google.com> | 2020-05-05 18:52:14 +0800 |
commit | 0f8981d9b14b866c968757710559feccddb00475 (patch) | |
tree | 34d575259ca149b8f5054fdf6d361acfdfbe5c39 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 73d7775f76aee0d8c73df23b3c7ab05a52fab95c (diff) |
Aviod divider surface memory allocated after boot
The divider surface buffer will be allocated even if the user does
not enter split mode. Avoid it by only copy surface when it show and
release it when it hidden.
Bug: 150190730
Test: reboot and check adb shell dumpsys SurfaceFlinger
Change-Id: Id70a2626b2a921cff6243d992c6b053e329ef92b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions