summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBen Kwa <kenobi@google.com>2015-12-09 14:33:49 -0800
committerBen Kwa <kenobi@google.com>2015-12-14 11:47:27 -0800
commitdb65cd5e48e847e99cc64bf79a2fb7fe3bbfd31a (patch)
tree481f69a245d803741123373af824852e23400279 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent743c7c2f0f57b4cef7cc11154b2e804a7eb33177 (diff)
Fix file deletion after the move to Model IDs.
- Add methods to the DocumentsAdatper to hide and unhide files. This removes that burden from the Model. - Remove clunky markForDeletion/finalizeDeletion and all related code from the Model. Replace with a straight-up delete method. - Modify deletion code in the DirectoryFragment. Deletion now looks like: - user presses delete - DocumentsAdapter hides the deleted files - If the user presses cancel, the DocumentsAdapter unhides the files. - If the user doesn't cancel, Model.delete is called to delete the files. - Fix deletion-related Model tests. BUG=26024369 Change-Id: I02e2131c1aff1ebcd0bdb93d374675fd157d7f51
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions