diff options
author | Pierre Barbier de Reuille <pbdr@google.com> | 2021-11-01 10:22:11 +0000 |
---|---|---|
committer | Pierre Barbier de Reuille <pbdr@google.com> | 2021-11-01 10:37:12 +0000 |
commit | 8011a28559c3974d075ac2533a67a8eeba9b42bf (patch) | |
tree | 683e7b7b287b06a6b4107154d642faf7db2d58f6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2121a9f369022f36e3beb1e588a9ca0b73feca19 (diff) |
Always check if the view can be recycled.
Previously, the recycling was only checked for multiple layout, as it
was assumed the AppWidgetHostView would make the basic check. However,
adapters views (e.g. ListView, ...) do not make any recycling check,
instead relying on caching using the Layout id. The caching cannot be
changed as it is common to other parts of Android.
This CL ensures the view can be recycled when reapplied, always.
Bug: 181985606
Test: atest android.widget.cts.RemoteViewsRecyclingTest
Change-Id: Ib01c511e4a793cce1519157aea06e194a2d8f855
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions