1394 Commits

Author SHA1 Message Date
Steve McKay
151f4b9b30 Merge "Tint current root icon." into nyc-dev 2016-04-12 16:41:50 +00:00
Tomasz Mikolajewski
fbd4b558d5 Merge "Fix selecting with touch in multi-window." into nyc-dev 2016-04-12 01:06:24 +00:00
Steve McKay
be4e5ebd75 Tint current root icon.
Bug: 27564967
Change-Id: I7ccd5940cf58d214c96ca869ce78b736c5b4d83d
2016-04-11 15:37:25 -07:00
Steve McKay
eb76763b80 Merge "Don't enable new folder in downloads..." into nyc-dev 2016-04-11 20:41:30 +00:00
Tomasz Mikolajewski
3871fd16d0 Fix selecting with touch in multi-window.
Bug: 28068983
Change-Id: Ie3ce0540a22a352c55fa18cb5be2cde28417e556
2016-04-11 17:54:24 +09:00
Tomasz Mikolajewski
c58e5619d3 Merge "Fix opening archives in Downloads." into nyc-dev 2016-04-11 03:00:12 +00:00
Bill Yi
2f4fa529be Import translations. DO NOT MERGE
Change-Id: I0eb19bcbf8069fba98efb31862b1e2e85010d95c
Auto-generated-cl: translation import
2016-04-09 04:07:52 -07:00
Steve McKay
4f89b6c6b8 Use writeStringList for selection parceling.
Bug: 27208679
Change-Id: Id0506e49254e0b3fcddb7d3f92717da0a95f2f6d
2016-04-08 17:36:25 -07:00
Steve McKay
c15528afa6 Don't enable new folder in downloads...
During copy operation.
Also, relay intent extras when opening copy destination picker.

Bug: 28081616
Change-Id: I3109eaf993da93239ba25db066beb5787a924196
2016-04-08 17:34:27 -07:00
Aga Wronska
43df577ac4 Consolidate user actions metrics into one histogram.
Bug: 27301081
Change-Id: Ib2ac46dd268e492c576bc082dc349c4a6826897f
2016-04-08 14:16:40 -07:00
Tomasz Mikolajewski
8fa9970149 Fix opening archives in Downloads.
When opening an archive in Downloads we first want to use
the ACTION_MANAGE_DOCUMENT intent, as it's a file on Downloads.

However, for files within archives we don't want call this intent,
as ACTION_MANAGE_DOCUMENT does not support files in archives.

Finally, we actually need to call ACTION_MANAGE_DOCUMENT for
archive files on Downloads, to give third party apps a chance
to show up in the Intent choose (invoked by the Trampoline).

This CL makes things work as they worked before merging
DownloadsActivity with DocumentsActivity.

Bug: 28033554
Change-Id: I287759aa8fc0457341ce6ece07d5c2ccf36f2c8c
2016-04-08 10:45:04 +09:00
Tomasz Mikolajewski
64f2ffaa7e Merge "Remove unused state in DocumentsUI." into nyc-dev 2016-04-07 04:44:25 +00:00
Tomasz Mikolajewski
e68cc51614 Merge "Do not crash when selecting a lot of files." into nyc-dev 2016-04-07 03:27:13 +00:00
Tomasz Mikolajewski
1451847bea Remove unused state in DocumentsUI.
Selection in State is very large, but no longer used. Removed.

Bug: 27208679
Change-Id: I2750347f6d06f2d006a0a04865d81110307ff7c5
2016-04-07 11:30:48 +09:00
Tomasz Mikolajewski
90e0ff0884 Do not crash when selecting a lot of files.
Bug: 27208679
Change-Id: I3763e190bf8a014274895a349b9739672f3e2224
2016-04-07 11:12:07 +09:00
Aga Wronska
6af13300d4 Set status bar color to material_blue_grey_950 as specified by UX.
Change-Id: I010309c5c5aaf312e645a75720e710ef83111952
Fixing: b/27561646
2016-04-06 14:21:56 -07:00
Aga Wronska
48c846368f Revert 'Make Files drawer appear behind system ui bars' because of action mode bug
Fixing: b/27854892
Bug: 27570567

Change-Id: Iefdf2f2a450d80c551027efb35121554503cca3c
2016-04-06 14:03:16 -07:00
Steve McKay
3855e9ce49 Merge "Massage code to better support Files overlay." into nyc-dev 2016-04-06 18:44:59 +00:00
Steve McKay
53f109b39e Massage code to better support Files overlay.
Also, allow "productivity_mode" config to be enabled via intent extra
    as a developement aide.

Bug: 28006206
Change-Id: I7be8d96a0e924f9ce8023347e051d28d69a0eec9
2016-04-06 10:25:02 -07:00
Ben Kwa
2084796e23 Merge "DocsUI: Update the drag shadow to meet UI spec." into nyc-dev 2016-04-06 15:02:04 +00:00
Ben Kwa
e67b0bdf5a DocsUI: Update the drag shadow to meet UI spec.
BUG=27608249

Change-Id: If10f842be4507c5f04e2e91dadcae842610388f2
2016-04-05 15:49:51 -07:00
Jeff Sharkey
e1412415d1 Merge "Invalidate caches when locale changes." into nyc-dev 2016-04-05 21:21:19 +00:00
Bill Yi
0b3aebbe03 Import translations. DO NOT MERGE
Change-Id: I313e43e4b0f2f90265415bfb36ac3316dcb58e00
Auto-generated-cl: translation import
2016-04-05 00:12:38 -07:00
Aga Wronska
2209860597 Merge "Hide 'select all' menu option when ALLOW_MULTIPLE intent is not passed in DocumentsActivity. Make 'select all' select only enabled files." into nyc-dev 2016-04-05 04:34:09 +00:00
Tomasz Mikolajewski
31da1779e7 Merge "Fix perf tests for cold startup." into nyc-dev 2016-04-05 00:33:03 +00:00
Aga Wronska
3210c4d889 Hide 'select all' menu option when ALLOW_MULTIPLE intent is not passed
in DocumentsActivity.
Make 'select all' select only enabled files.

Change-Id: I03326974be46f610622fff14002671e50487e357
Fixing: b/27952285
2016-04-04 17:11:10 -07:00
Jeff Sharkey
a3ebfec731 Invalidate caches when locale changes.
When loading roots for the first time, we're okay using any cached
data from the system, but if the locale changes we need to
force-refresh everything.

Now that we're always using the system cache, we have a nice strong
signal for "empty" versus "not cached" results, so we don't need to
wait around for the first loading pass to finish.

Add logic to invalidate system cache when locale changes, and fix
locking bug.

Bug: 27977906
Change-Id: Ic50083eff360bea887799583f6c9f02c129eec91
2016-04-04 16:46:01 -06:00
Aga Wronska
d42a9bed93 Make Metrics.logKeyboardAction() method take @KeyboardAction type
instead of KeyEvent

Change-Id: Ib9a19532612b679141b6d611e448247d3b0bab23

Fixing: b/27942360
2016-04-04 14:07:27 -07:00
Tomasz Mikolajewski
6a72a0ea9c Fix perf tests for cold startup.
Kiling ia force-stopping was invalidating the entire roots cache.

Bug: 27743087
Change-Id: Ib788cfeaa6e60c40b7277ba7ca0f2371816eded1
2016-04-04 10:34:36 +09:00
Aga Wronska
0614c16b5e Add metrics for keyboard shortcuts
Change-Id: I3a63efd856f25cc33d61b734970675b77645a26d
Fixed: 27942360
2016-04-01 13:34:46 -07:00
Aga Wronska
cf966ae5b5 Add metrics for menu actions
Change-Id: Ic20802730e6068cfe49c277c3378c15ee0ba09fe
Fixed: 27921699
2016-04-01 09:59:48 -07:00
Aga Wronska
9d5aadd5f2 Merge "Add metrics for drag and drop. Add metrics for search." into nyc-dev 2016-04-01 16:51:51 +00:00
Aga Wronska
cf59d32e59 Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928
Change-Id: I8f4ad4e00c6ce46e61afc087daa890eb90ed18a1
2016-03-31 17:55:44 -07:00
Aga Wronska
b8572b3d50 Merge "Fix dialogs layout after keyboard shows up" into nyc-dev 2016-03-31 23:54:11 +00:00
Aga Wronska
c573bec8cf Add metrics for drag and drop.
Add metrics for search.

Change-Id: I77cb1d13360d764556730303eeb44e14e917b0fa
Fixed: 27940726
2016-03-31 16:39:56 -07:00
Aga Wronska
69e852d759 Fix search view tests on handheld devices
Change-Id: If7107e23e93989f040abf7f909b4134b0035b8e4
2016-03-31 13:31:24 -07:00
Bill Yi
a41213f87d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-31 04:17:54 +00:00
Bill Yi
e9170af379 Import translations. DO NOT MERGE
Change-Id: If1d2bc9f9f2e22b73c1b093f680f55dbdd67ca42
Auto-generated-cl: translation import
2016-03-30 20:03:30 -07:00
Aga Wronska
276dcd7314 Merge "Add menu option to show/hide internal storage." into nyc-dev 2016-03-31 01:39:12 +00:00
Aga Wronska
774cc932fc Add menu option to show/hide internal storage.
This reverts commit 7c4395804e450533afb553ab992c47f737da8a9b.

Bug: 27683276
Change-Id: Id1a310b57ab7fa3c8c14b464786473f211eaf41f
2016-03-30 18:23:10 -07:00
Andrii Kulian
ac94586714 Merge "Refactor usages of Picture In Picture and Multi Window (1/4)" into nyc-dev 2016-03-31 00:57:42 +00:00
Felipe Leme
d847b511d3 Merge "Minor tweaks on Scoped Directory Access:" into nyc-dev 2016-03-31 00:49:18 +00:00
Jeff Sharkey
09d77417b1 Merge "Fix RootsCache invalidation bugs." into nyc-dev 2016-03-31 00:27:21 +00:00
Felipe Leme
2ac876945b Minor tweaks on Scoped Directory Access:
- Only allow entire directory access on non-primary volumes.
- Do not display primary storage label on scoped access.

BUG: 27743842
BUG: 27676858
Change-Id: I9884fb1e2df3534fceebc5d5bef44adfb758724c
2016-03-30 16:42:10 -07:00
Jeff Sharkey
7732e1e544 Fix RootsCache invalidation bugs.
When RootsCache is still running and it detects a provider/package
change, it needs to force reload roots.  Also fix cache invalidation
bug in ContentService to allow for Uri prefix matches.

Mark internal storage broadcasts with flag to bypass new background
checks.

Bug: 27759529
Change-Id: I9d9c6fe15d8640ff56ae7214afb3bac673682c28
2016-03-30 17:14:25 -06:00
Aga Wronska
3d6dc3a60a Merge "Add metrics for create directory and rename file operations" into nyc-dev 2016-03-30 22:04:24 +00:00
Aga Wronska
6f000a1a63 Merge "Add metrics for opening the drawer" into nyc-dev 2016-03-30 20:13:51 +00:00
Vladislav Kaznacheev
0e84279947 Update DocumentsUI according to DragStartHelper API changes
Bug: 27810240
Change-Id: I1daed13d6d9cc215a6b1ba4d0ad259a996b0eb5f
2016-03-30 11:14:29 -07:00
Aga Wronska
7dcf81e6fa Add metrics for opening the drawer
Change-Id: I1315463c5217ce47aa7fa40ddd8b8773c7038208
Fixed: 27905111
2016-03-30 11:05:04 -07:00
Aga Wronska
4e8c7f61be Add metrics for create directory and rename file operations
Change-Id: I4814673b4066efa840e1fb52a7549d8c7ebc4f63
Fixed: 27908149
2016-03-30 11:00:03 -07:00