56aeb4918fdd6419f71f48ac5927c4709de42d4f |
|
31-Jan-2017 |
Tomasz Mikolajewski <mtomasz@google.com> |
Fix strings in DocumentsUI to use plurals. Test: Tested manually conversion and moving dialogs. Bug: 34824654 Change-Id: Ib4c75333d80ee024d7905675d02a1238a2b38ca5
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/MessageBuilder.java
|
5b0a2c187a9e446b683687817d22cbe443585223 |
|
07-Oct-2016 |
Steve McKay <smckay@google.com> |
Inject SelectionManager instead of passing on reset. Move more delete functionality into ActionHandler. Make ActionModeController Activity scoped. Name most "Config" objects (relating to scope) to ContentScope. Clear focus info when resetting FocusManager. Bug: 31658228 Change-Id: I6dbdb07ded83c75b82aec5773a60ef0febb6f02c
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/MessageBuilder.java
|
c8889af6757ecb348fb8fd6dadf84d67d3478cbf |
|
23-Sep-2016 |
Steve McKay <smckay@google.com> |
Move delete support into base ActionHandler. Introduce an "Addons" interface that describes all of the extra stuff we expose in our concrete Activities allowing us to write test doubles for our Activities. Add new "ui" package for UI specific stuff like: Introduce DialogController, isolating dialog business in a separate class (that can be easily replaced with a double) Move delete confirmation and snackbar-error reporting into this class. Introduce a Messages class for building messages, but isolated from implementation details. Add test for delete logic in ActionHandler (now that the code is unit-testable.) Introduce new ClipStore interface to improve testability of code that depends on clip storage...but in this CL we don't yet cover any of that. Decouple all ActionHandler impls from their Change-Id: Ic1449e501c855cdb72bf7666f4b67b9a9e9c1b49
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/MessageBuilder.java
|