diff options
author | chaviw <chaviw@google.com> | 2020-05-14 16:10:20 -0700 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2020-05-18 10:28:48 -0700 |
commit | b0b893f01f51bf8bc1d76cc9a2884e6e73908cb7 (patch) | |
tree | a98574668491e9c7be7f4361ea051398af9fec61 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d5e4aa1ad72df2b23c1a151aa5338e123e0d476d (diff) |
Only call onDisplayAreaInfoChanged if config actually changed
onConfigurationChanged is called pretty frequently if anything in the
hierarchy changed. Avoid sending duplicate callbacks to the client if
the configuration didn't actually change.
Test: Rotate, only unique configurations in onConfigurationChanged
Test: DisplayAreaOrganizerTest
Fixes: 156677444
Change-Id: Icf4dc8a0a5f7bdcfac87721c6ff656f2fe711a90
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions