commit | 0f8981d9b14b866c968757710559feccddb00475 | [log] [tgz] |
---|---|---|
author | Tony Huang <tonyychuang@google.com> | Mon Apr 20 17:38:37 2020 +0800 |
committer | Tony Huang <tonyychuang@google.com> | Tue May 05 18:52:14 2020 +0800 |
tree | 34d575259ca149b8f5054fdf6d361acfdfbe5c39 | |
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