diff options
author | Tony Huang <tonyychuang@google.com> | 2020-05-15 13:51:03 +0800 |
---|---|---|
committer | Tony Huang <tonyychuang@google.com> | 2020-06-03 15:32:23 +0800 |
commit | a0ee06083c9e85f8fe931702f45f263f69a45f29 (patch) | |
tree | 593c7640b38c57b89fba605aa059264ce60410e9 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 27630cbb4e87801ffcd427b3142889704da13302 (diff) |
Only add divider when it need to show
By previous memory patch, the divider will always call update when
enter split when means it always add divider view when showing. So
we can reduce some update call to avoid any unnecessary surface
memory allocate.
Fix: 150190730
Test: Check split mode rotate normally and dump SF to check divider
memory status
Change-Id: Idb39cefe0168e9e5e11ce0e13438a24f84cbb9f4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions