1614 Commits

Author SHA1 Message Date
Steve McKay
53b61628cd Merge "Deal gracefully with empty srcs." into nyc-dev
am: f90db08

* commit 'f90db0890d33866295ae3d2654dbe78de354967b':
  Deal gracefully with empty srcs.

Change-Id: I465d800b81ff9d1b1051a7ef574c45735374ec5a
2016-04-14 19:06:53 +00:00
Steve McKay
f90db0890d Merge "Deal gracefully with empty srcs." into nyc-dev 2016-04-14 19:00:49 +00:00
Steve McKay
0a6ca9090c Merge "Guard against null clipdata objects." into nyc-dev
am: cb6903d

* commit 'cb6903deacacc18609c2e685b9b12080dca6bf27':
  Guard against null clipdata objects.

Change-Id: I95dad36dd51cc39cb822e791ad28a3a9221baef2
2016-04-14 18:52:22 +00:00
Steve McKay
cb6903deac Merge "Guard against null clipdata objects." into nyc-dev 2016-04-14 18:44:24 +00:00
Steve McKay
55625a675f Deal gracefully with empty srcs.
Bug: 28184194, 28173827
Change-Id: I6794b147a7e3d3aba73600a87d565bfffe4a4b93
2016-04-14 10:34:08 -07:00
Daichi Hirono
ece44304af Merge "Filter out ACTION_UP events in onKey() listener." into nyc-dev
am: 73ba4a7

* commit '73ba4a7136acd67c593884d7feefff3ec43f3ace':
  Filter out ACTION_UP events in onKey() listener.

Change-Id: I88a8e6b1e6385d5c5ecd36a673d30e74e2336ed7
2016-04-14 09:37:18 +00:00
Daichi Hirono
b12733481b Filter out ACTION_UP events in onKey() listener.
Previously we invokes performeSave both for ACTION_DOWN and ACTION_UP,
thus it creates two documents.

Change-Id: I7fc2a62c34fc239c2bf3ca6c71122e360d589727
Fixes: 28179791
2016-04-14 16:54:47 +09:00
Steve McKay
2c94cc12c4 Merge "Minor cleanups to delete support." into nyc-dev
am: 282c458c

* commit '282c458cda9e2d3f85d1b70a673c54f18c8ec48b':
  Minor cleanups to delete support.

Change-Id: Ie6205454a1f4aa99030ae3239a8dd61ace1202ff
2016-04-14 01:25:16 +00:00
Steve McKay
282c458cda Merge "Minor cleanups to delete support." into nyc-dev 2016-04-14 01:23:12 +00:00
Steve McKay
256724ea20 Minor cleanups to delete support.
When deleting by key, make a defensive copy of selection...probably fixing a latent bug.

Bug: 28173827
Change-Id: Ib1ad2214c1f95fa703be227da33b25a5d4021b28
2016-04-13 16:19:03 -07:00
Ben Lin
747f3992e3 Merge "Open drawer only on first update." into nyc-dev
am: 527184d

* commit '527184d42bd1bf29912ac7254f437b3e39a48940':
  Open drawer only on first update.

Change-Id: Iba746faf3b159a34b798513977114680ba4b5bb5
2016-04-13 22:25:42 +00:00
Ben Lin
527184d42b Merge "Open drawer only on first update." into nyc-dev 2016-04-13 21:48:56 +00:00
Steve McKay
3c987600aa Guard against null clipdata objects.
Bug: 28074897
Change-Id: I7f0e520d6f1ce40e6db2fbead21ee4bb37aa3a61
2016-04-13 14:19:50 -07:00
Ben Lin
ab5576d642 Open drawer only on first update.
Bug: 27406768
Change-Id: Ib95ecf68be3ba68bf08ccf7311c641e2e934e9c6
2016-04-13 13:19:55 -07:00
Steve McKay
3c312c783e Merge "Mark DocumentsUI as a "privileged" app." into nyc-dev
am: 5108d34

* commit '5108d34374f244639173a2efb8cacd04f7893b78':
  Mark DocumentsUI as a "privileged" app.

Change-Id: Id4934cd4494069eeef2bd882f2933c1270576b52
2016-04-13 19:07:35 +00:00
Tomasz Mikolajewski
8afc15afc7 Merge "Fix selecting all in DocumentsUI." into nyc-dev
am: 03dab3e

* commit '03dab3e56240e6ae5f8bd471ac190fe0a90b5bcd':
  Fix selecting all in DocumentsUI.

Change-Id: I97c83da47a096ca833918c98979430f68b0d41d8
2016-04-13 19:00:08 +00:00
Steve McKay
5108d34374 Merge "Mark DocumentsUI as a "privileged" app." into nyc-dev 2016-04-13 18:59:33 +00:00
Steve McKay
03dab3e562 Merge "Fix selecting all in DocumentsUI." into nyc-dev 2016-04-13 18:57:55 +00:00
Steve McKay
92bf96dd57 Mark DocumentsUI as a "privileged" app.
This fixes the issues with CTS resulting from the change to intent filtering.
Bug: 28081616

Change-Id: I81f87ff56b5fbb0d526863da44a2fcef29a3aa2c
2016-04-13 10:25:43 -07:00
Tomasz Mikolajewski
89950ead86 Fix selecting all in DocumentsUI.
Bug: 28152042
Change-Id: Ie241874af77aaca4fd6c6cbc18a9a7e8ba31d87d
2016-04-13 16:18:15 +09:00
Tomasz Mikolajewski
d6d7ed7f1d Do not allow to select non-selectable items via mouse.
am: 5e02d30

* commit '5e02d303c07d428970e25b315061c61287df153d':
  Do not allow to select non-selectable items via mouse.

Change-Id: I35d71dcb7b1bb38eb3851948be7c39254121ee12
2016-04-13 06:41:16 +00:00
Tomasz Mikolajewski
e29ce7bdf0 Merge "Do not crash when trying to select unselectable items with keyboard." into nyc-dev
am: 566c595

* commit '566c595d4d283f10d4d26b6c4ee2805abb7fa2df':
  Do not crash when trying to select unselectable items with keyboard.

Change-Id: Ica9fb710057a2d5f94625a4ec71a27797b85c27f
2016-04-13 06:41:14 +00:00
Tomasz Mikolajewski
5e02d303c0 Do not allow to select non-selectable items via mouse.
Bug: 28101625
Change-Id: I9f6cd4e259f7860bbc6c74c4d24c43e2c3ba1047
2016-04-13 06:36:22 +00:00
Tomasz Mikolajewski
566c595d4d Merge "Do not crash when trying to select unselectable items with keyboard." into nyc-dev 2016-04-13 06:34:04 +00:00
Tomasz Mikolajewski
0e6b84ff63 Do not crash when trying to select unselectable items with keyboard.
Bug: 28103071
Change-Id: I6e9bc918433eee4b1309ccf8ea597ea774e5559e
2016-04-13 04:13:09 +00:00
Tomasz Mikolajewski
21dc3a3f12 Merge "Remove the toolbar icon from DocumentsUI." into nyc-dev
am: c1e1e41

* commit 'c1e1e41471a98a79097a75933d03dbc785aa973f':
  Remove the toolbar icon from DocumentsUI.

Change-Id: Ia55dabfc8a57640c0579da2c134b0bb92e50b4e9
2016-04-13 03:57:02 +00:00
Tomasz Mikolajewski
ad913ed551 Remove the toolbar icon from DocumentsUI.
Bug: 27565928
Change-Id: I5181466a770e11716f173cf8cc66f62ba71ac710
2016-04-13 01:55:14 +00:00
Steve McKay
1ba09d6695 Merge "Daeal with null cursors more leniently." into nyc-dev
am: 1db228a

* commit '1db228a74bf80829b1b06d39f516f8b40aa44f1b':
  Daeal with null cursors more leniently.

Change-Id: If928e30188fee9638e2ec148a024091704709324
2016-04-12 23:11:57 +00:00
Steve McKay
1db228a74b Merge "Daeal with null cursors more leniently." into nyc-dev 2016-04-12 23:05:27 +00:00
Steve McKay
dcc68fdd0c Daeal with null cursors more leniently.
Since modelId may not in fact result in a cursor.
Bug: 28074284

Change-Id: I8632c9c7d5e3da32080c07033089173105c03646
2016-04-12 11:41:19 -07:00
Steve McKay
7f8c873612 Merge "Tint current root icon." into nyc-dev
am: 151f4b9

* commit '151f4b9b30606d85ed6aafcc687940f6c6abd756':
  Tint current root icon.

Change-Id: Idb490e99448d3fc5d43b1865297f9eefec7ed9f0
2016-04-12 16:56:31 +00:00
Steve McKay
151f4b9b30 Merge "Tint current root icon." into nyc-dev 2016-04-12 16:41:50 +00:00
Tomasz Mikolajewski
8d17c6f28f Merge "Fix selecting with touch in multi-window." into nyc-dev
am: fbd4b55

* commit 'fbd4b558d5630c83f5bb820328bb606a89b68577':
  Fix selecting with touch in multi-window.

Change-Id: I99e3ee0bd9cf5b53533ef841ed61691cda9d940f
2016-04-12 01:19:27 +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
fdc4781384 Merge "Don\'t enable new folder in downloads..." into nyc-dev
am: eb76763

* commit 'eb76763b80ea9bafbc8792db6f5e59ff98e4ef33':
  Don't enable new folder in downloads...

Change-Id: Iae81b70fe2556ecc5c68c01f2f08d77db199fb9a
2016-04-11 20:58:11 +00: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
c04abbed41 Merge "Fix opening archives in Downloads." into nyc-dev
am: c58e561

* commit 'c58e5619d32a6d3351248de31e102eb37f8c61fd':
  Fix opening archives in Downloads.

Change-Id: I98d49dd799919af391d329da58ccabde3088d6cf
2016-04-11 03:07:31 +00: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
377586bfaa Use writeStringList for selection parceling.
am: 4f89b6c

* commit '4f89b6c6b876a240ec5440f62c854c5ded214f05':
  Use writeStringList for selection parceling.

Change-Id: Ia9b52b3b297b9e01468084bdf15272c1f2bead91
2016-04-09 01:43:17 +00:00
Aga Wronska
800392f9f1 Merge "Consolidate user actions metrics into one histogram." into nyc-dev
am: 9870ad9

* commit '9870ad94ed4dd1a60e4122b94cd8b72bbb06ca24':
  Consolidate user actions metrics into one histogram.

Change-Id: I7b1e75beaea25f632f7a9c8de33a388409b6c212
2016-04-09 00:43:26 +00: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
444c98655e Merge "Remove unused state in DocumentsUI." into nyc-dev
am: 64f2ffa

* commit '64f2ffaa7ef237a6d8181c03bb0a3bdbbc879792':
  Remove unused state in DocumentsUI.

Change-Id: Iadd35d32b512418882af1504642ca63b663459b3
2016-04-07 04:48:54 +00:00
Tomasz Mikolajewski
64f2ffaa7e Merge "Remove unused state in DocumentsUI." into nyc-dev 2016-04-07 04:44:25 +00:00
Tomasz Mikolajewski
aa9a757810 Merge "Do not crash when selecting a lot of files." into nyc-dev
am: e68cc51

* commit 'e68cc516148ccd6b4cc7d3d26be59bc595130379':
  Do not crash when selecting a lot of files.

Change-Id: If0e29eddc3e2296687915975ab22017e4623ecc5
2016-04-07 03:31:59 +00:00