Jeff Sharkey
59d577a518
Browse mode for DocumentsUI, removed volume state.
...
The existing management mode is too specific, and requires that
storage backends add queryChildDocumentsForManage(), etc. Instead,
to offer more natural browsing support, add a new BROWSE_ROOT intent.
It behaves mostly like MANAGE_ROOT, except that it doesn't mutate
its Uris with setManageMode(), and it shortcuts straight to VIEW on
clicked documents.
It can be launched like this:
$ adb shell am start -a android.provider.action.BROWSE_ROOT
-d content://com.android.externalstorage.documents/root/8405-1DFB
-c android.intent.category.DEFAULT
Also rename a MetricsConstants to make it clearer, and don't
auto-mount all emulated volumes.
Fix bugs around parceling of DiskInfo/VolumeInfo. Method to resolve
the best description for a VolumeInfo, which might need to fall
back to DiskInfo.
Add back "removed" volume state so we send broadcast when a volume
is destroyed, matching the expected public API behavior.
Bug: 19993667
Change-Id: I13aff32c5e11dfc63da44aee9e93a27f4690a43f
2015-04-12 16:03:50 -07:00
Geoff Mendal
fff84a87e1
Import translations. DO NOT MERGE
...
Change-Id: I4be4f944cd8c87529e04aa4c8e19198020c1b262
Auto-generated-cl: translation import
2015-04-10 23:01:52 -07:00
Ben Kwa
23f5ca6dc8
Merge "Enable directory copying."
2015-04-10 17:33:44 +00:00
Ben Kwa
726cf70fd4
Enable directory copying.
...
- Enable directory picking for copying.
- Implement recursive copying inside the CopyService.
- Pretty up the notification (use an indeterminate notification while
calculating copy size)
- Do two recursive walks: one to determine the size of the copy job,
and then another to actually copy the files.
- Switch to using ContentProviderClient instances, for better error
detection and handling
- Disable copying from the Recents view.
Change-Id: Ieb38cca80edf84a487547b68f0d6b328fc4d7701
2015-04-10 10:28:22 -07:00
Ben Kwa
6e08dbc366
Merge "Prototype the destination picking."
2015-04-08 19:05:26 +00:00
Ben Kwa
ef3f2620b3
Prototype the destination picking.
...
- Add an intent to open a destination picker, and refactor
DocumentsActivity accordingly.
- Modify CopyService to take a destination for the copy, and to use URIs
and PFDs instead of Files and Streams, for better error handling &
cleanup.
Change-Id: I69dc43823a703674dc29d2215e2df23b33ad7882
2015-04-08 11:55:18 -07:00
Tomasz Mikolajewski
3a1b164f65
Merge "Use default theme for StandaloneActivity (DocumentsUI)."
2015-04-08 13:33:13 +00:00
Tomasz Mikolajewski
a4583a4d2d
Merge "Add StubProvider::isChildDocument()."
2015-04-08 13:28:56 +00:00
Geoff Mendal
3ebbdd03ea
Import translations. DO NOT MERGE
...
Change-Id: I0f9b0b3036a149b304b874fbaa2d95cf56e4e816
Auto-generated-cl: translation import
2015-04-08 05:35:59 -07:00
Tomasz Mikolajewski
86213c9486
Use default theme for StandaloneActivity (DocumentsUI).
...
Change-Id: I41841702e0b68123cb73ff1203ca6e6fe5eae320
2015-04-08 20:35:33 +09:00
Tomasz Mikolajewski
78699be5ff
Add StubProvider::isChildDocument().
...
Change-Id: Ib17df4307c1f658c42468f86e1f66d4469eefe58
2015-04-08 19:38:55 +09:00
Tomasz Mikolajewski
0fc8beb2df
Add an initial version for a StubProvider for DocumentsUI.
...
It will be used for testing as well as for development.
Change-Id: I1556836e1070d9e4483d2574bba40aa2fdfde229
2015-04-08 13:14:52 +09:00
Tomasz Mikolajewski
8090ffe633
Fix broken tests in DocumentsUI.
...
Change-Id: Ia41eda4d9f500882ca7eb62b13a4bca60978bc33
2015-04-08 09:54:43 +09:00
Geoff Mendal
91a2eaf5ee
Import translations. DO NOT MERGE
...
Change-Id: I34445592f741f1566ae5493a8f591391ca65d435
Auto-generated-cl: translation import
2015-04-06 05:17:12 -07:00
Geoff Mendal
13875be0fe
Import translations. DO NOT MERGE
...
Change-Id: I13a822578c3b71e3176704891486783770337b97
Auto-generated-cl: translation import
2015-04-03 22:35:22 -07:00
Ben Kwa
c8adb235b9
Merge "Enable directory selection. Add an IntentService to copy files."
2015-04-03 21:06:30 +00:00
Ben Kwa
d99109fca8
Enable directory selection. Add an IntentService to copy files.
...
Change-Id: I0bec0224aa1b52766664c23f77d60affec702111
2015-04-03 13:49:24 -07:00
Geoff Mendal
0b1f41230a
Import translations. DO NOT MERGE
...
Change-Id: I02c4b9d0fcb21c0224590503fa8720805db3d2fa
Auto-generated-cl: translation import
2015-04-01 02:49:53 -07:00
Ben Kwa
3bcc9488a1
Add a "Select All" menu item and code.
...
Change-Id: I31ed8bff83d8a621a31ea5c2a0d1bb218f53d6e2
2015-03-31 09:12:37 -07:00
Steve McKay
e934ce6f84
Implement a standalone file manager activity.
...
Change-Id: Iaf86ef416b979cea4ab3890d3a26f09741392c3d
2015-03-25 14:38:56 -07:00
Geoff Mendal
c98146b556
Import translations. DO NOT MERGE
...
Change-Id: Iac1b987545c21b2e4b29787b13fbaf3414a6a2fb
Auto-generated-cl: translation import
2015-03-20 23:20:04 -07:00
Alan Viverette
4a357cd2e5
Replace usages of deprecated Resources.getColor() and getColorStateList()
...
Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
2015-03-18 18:37:18 -07:00
Geoff Mendal
0ef51ec3dd
Import translations. DO NOT MERGE
...
Change-Id: Ic3f3b8418d69d37a26c0be77047faf3ea9294b0f
Auto-generated-cl: translation import
2015-03-16 06:03:55 -07:00
John Spurlock
08c7116ab9
Remove unused imports in frameworks/base.
...
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
2015-02-28 14:47:49 -05:00
Geoff Mendal
e4bf2eea03
Import translations. DO NOT MERGE
...
Change-Id: If17993f8a25da1cb9a868150bb787d8c1b9810bd
Auto-generated-cl: translation import
2015-02-25 06:25:08 -08:00
Geoff Mendal
f66949ebd4
Import translations. DO NOT MERGE
...
Change-Id: Ida34896ac8597930db790a14bc84cd19452f6902
Auto-generated-cl: translation import
2015-01-21 06:45:08 -08:00
Geoff Mendal
e66e10b563
Import translations. DO NOT MERGE
...
Change-Id: Ibe706a89d57655a9fb5890533887ca7a793190aa
Auto-generated-cl: translation import
2015-01-05 06:19:02 -08:00
Baligh Uddin
a88ec29686
Import translations. DO NOT MERGE
...
Change-Id: Ib8a2992780a3a20748d2d150e1f887674677cf64
Auto-generated-cl: translation import
2014-12-23 00:09:22 -08:00
Jeff Sharkey
db81f23e22
am 44952282: am ce7a0e6c: am 7038c390: Merge "Move Documents action bar update even later." into lmp-mr1-dev
...
* commit '44952282e8e170483eef30f18c74fa3995cad0c9':
Move Documents action bar update even later.
2014-11-25 17:55:56 +00:00
Jeff Sharkey
44952282e8
am ce7a0e6c: am 7038c390: Merge "Move Documents action bar update even later." into lmp-mr1-dev
...
* commit 'ce7a0e6cc7cd90cc5019f9b150a0295347f38406':
Move Documents action bar update even later.
2014-11-25 17:50:06 +00:00
Jeff Sharkey
43aef1643b
Move Documents action bar update even later.
...
At some point Activity started restoring the Toolbar/ActionBar title
during onPostCreate(), which would clobber some of the setup we just
finished doing. To fix, move our update to be even later in the
restore lifecycle.
Also fix grid item widths for small screen devices.
Bug: 17428127
Change-Id: I258121b6a6eec5924f92b02290a67d3ae7dd9cf6
2014-11-24 12:17:12 -08:00
Geoff Mendal
0c481b83a4
Import translations. DO NOT MERGE
...
Change-Id: Ie6a5828d8c8c7267ff4990b30df1d0c5089d5bfb
Auto-generated-cl: translation import
2014-11-24 11:03:33 -08:00
Geoff Mendal
88a3c40edf
Import translations. DO NOT MERGE
...
Change-Id: I01e34d68941ab339ebc007721d9523b2eee4f53d
Auto-generated-cl: translation import
2014-11-12 08:39:27 -08:00
Baligh Uddin
ea2e426c34
Import translations. DO NOT MERGE
...
Change-Id: I2994323e16b360c821f3f314bc42258818f20905
Auto-generated-cl: translation import
2014-11-07 01:26:08 -08:00
Jeff Sharkey
e2120f49f0
am f135073f: Merge "Recent directories can\'t show file size." into lmp-mr1-dev automerge: 379551e automerge: 043f8dd
...
* commit 'f135073fddff16595f7fd1c53ce4258ed96ec5cf':
Recent directories can't show file size.
2014-10-25 02:35:26 +00:00
Jeff Sharkey
f135073fdd
Merge "Recent directories can\'t show file size." into lmp-mr1-dev automerge: 379551e
...
automerge: 043f8dd
* commit '043f8dd27459f98537d46db77d482215b66c0ba0':
Recent directories can't show file size.
2014-10-24 21:26:09 +00:00
Jeff Sharkey
0166ddf5bb
Recent directories can't show file size.
...
Don't show the toggle to the user, which can avoid crashing.
Bug: 17942524
Change-Id: Iaedd61b7c69e14b57508cb9865d1e0124ca2e505
2014-10-24 13:06:32 -07:00
Geoff Mendal
93d1a922e6
Import translations. DO NOT MERGE
...
Change-Id: Idef38851949fcd52c12ba31dba660630755b990f
Auto-generated-cl: translation import
2014-10-20 09:15:29 -07:00
Jeff Sharkey
755799c707
am 7d5e9455: am 86195bd9: am 1229d266: am c4d774d5: am 461b3896: Merge "DocumentsUI: Add content description for nav." into lmp-dev
...
* commit '7d5e9455f479d3a2685c84388ef752d08c49e7fc':
DocumentsUI: Add content description for nav.
2014-10-14 17:30:27 +00:00
Jeff Sharkey
7d5e9455f4
am 86195bd9: am 1229d266: am c4d774d5: am 461b3896: Merge "DocumentsUI: Add content description for nav." into lmp-dev
...
* commit '86195bd9a39436a9dc39de782e20892f51cf7397':
DocumentsUI: Add content description for nav.
2014-10-14 17:22:40 +00:00
Jeff Sharkey
c4d774d5d8
am 461b3896: Merge "DocumentsUI: Add content description for nav." into lmp-dev
...
* commit '461b3896babdbfb365282378df89cde2dddb5a3a':
DocumentsUI: Add content description for nav.
2014-10-13 22:04:06 +00:00
Jeff Sharkey
b7b30f691c
DocumentsUI: Add content description for nav.
...
Bug: 17922955
Change-Id: I44c0107d8dd03aab36da55deeb864e328b492124
2014-10-13 12:55:18 -07:00
Geoff Mendal
bf6b63a438
Import translations. DO NOT MERGE
...
Change-Id: Id0dc949056acf3531b3be9f5a3ba24fab8fb887b
Auto-generated-cl: translation import
2014-10-13 09:37:43 -07:00
Geoff Mendal
640a12e325
Import translations. DO NOT MERGE
...
Change-Id: I9e0eb258692fe12c5dfa54a73e661f7f547d08aa
Auto-generated-cl: translation import
2014-10-06 14:31:31 -07:00
Baligh Uddin
85459ed8bc
Import translations. DO NOT MERGE
...
Change-Id: Ib4d6278bd445c1d63be3e013b5b34305cc5ff3da
Auto-generated-cl: translation import
2014-09-30 03:38:40 -07:00
Baligh Uddin
09ec0c35ff
Import translations. DO NOT MERGE
...
Change-Id: Ifd383e3b819d7364b2fa38231abd7605538fceae
Auto-generated-cl: translation import
2014-09-28 22:21:17 -07:00
Baligh Uddin
da947510ca
Import translations. DO NOT MERGE
...
Change-Id: I21d151241e5e6a60e913a3e42eaa5ed5bc12b098
Auto-generated-cl: translation import
2014-09-20 15:49:22 -07:00
Baligh Uddin
dc9f03eb67
Merge "Import translations. DO NOT MERGE"
2014-09-18 18:10:33 +00:00
Jeff Sharkey
ab186e69a2
am 95f896d9: am 2f984f96: am 1b5f6fec: am 2dc7a1b5: Merge "Always force list divider in DocumentsUI." into lmp-dev
...
* commit '95f896d9f1723bde48280fa9ba5438d6857c6eb7':
Always force list divider in DocumentsUI.
2014-09-17 14:11:45 +00:00
Jeff Sharkey
80e2a43b4d
am a8ef5325: am ce750eab: am 2dc7a1b5: Merge "Always force list divider in DocumentsUI." into lmp-dev
...
* commit 'a8ef5325d7d2253847af734da4b609c46ee747cb':
Always force list divider in DocumentsUI.
2014-09-16 21:46:23 +00:00