diff options
author | Steve McKay <smckay@google.com> | 2016-01-05 15:27:17 -0800 |
---|---|---|
committer | Steve McKay <smckay@google.com> | 2016-01-05 15:50:35 -0800 |
commit | 44408260ba99eea55f7c0ec02778bb13d83c3262 (patch) | |
tree | ff65decbf9e47d1d6ad86be3ab62c181582fd9be /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ab6fb6fcaf9b2406697971f7464d331b6d1d46b5 (diff) |
Don't proxy calls to DocumentsAdapter in MultiSelManager.
We were bouncing calls out to the adapter pulled from RecyclerView,
but the adapter is easy to write a test double for and
we can readily inject the adapter when needed at runtime.
Eliminates unnecessary indirection.
Also, protect against failure when documents can't be loaded for delete.
Change-Id: Ief6585bf2e3e4fd407d801d485a9d7cd888b8500
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions