From 42833b2ff4d7a26dd9a609d2fd4436d9a26f28b5 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Sat, 11 Apr 2015 21:27:33 -0700 Subject: Checkpoint of new storage UI. Top-level storage UI now shows list of all devices, both internal and adopted/private volumes, and public/shared volumes. When viewing a private volume, show traditional clustering of data types, including summary of other users. For adopted volumes, any actions are tucked away in a menu, since they're not primary. Misc files browsing is now provided by DocumentsUI. Teach StorageMeasurement about new private volumes, including handling emulated volumes stacked above them. When measuring, only consider apps actually hosted on the current volume UUID. When viewing a public volume, we default to launching into file management mode, and offer a simple eject button at the top-level view. File management mode is offered by new DocumentsUI browse intent, and a Settings link there redirects back to us for actual operations like ejecting/formatting. When unmounted, we launch into our action view. Actions like ejecting/formatting just show simple toasts for now. Bug: 19993667 Change-Id: Ie990ef3c01fb3717aaf8c79bfc53aac7edefdcf7 --- res/menu/storage_volume.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 res/menu/storage_volume.xml (limited to 'res/menu') diff --git a/res/menu/storage_volume.xml b/res/menu/storage_volume.xml new file mode 100644 index 0000000..093a4bb --- /dev/null +++ b/res/menu/storage_volume.xml @@ -0,0 +1,33 @@ + + + + + + + + + + -- cgit v1.1