diff options
author | Lucas Dupin <dupin@google.com> | 2021-10-25 16:15:50 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2021-10-27 16:39:58 -0700 |
commit | b43685b77da9ef17221e8c2623f25754223d9d6e (patch) | |
tree | 3138e125aad039f55af73c94b144ab8389d75ba6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0566e1ec5bb12b0239ed7b11d12e3cc7bbc05e95 (diff) |
Do not relayout when expanding shade
Going from VISIBLE to GONE requires a relayout.
We should avoid it whenever possible, given that we'll have to scan
through all views and it's fairly expansive.
Making the view INVISIBLE instead of GONE mitigates the issue.
Test: manually pull down the shade
Bug: 199047412
Change-Id: I8a454be25059dfa1254e44a945faa1a546d6af99
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions