Commit Graph

1473 Commits

Author SHA1 Message Date
Steve McKay
6818cd5540 Merge "Finish selection mode after copyto and share..." into nyc-dev
am: 94e3b80d5b

* commit '94e3b80d5b3fd88f6656cb5cae813c4e63faebff':
  Finish selection mode after copyto and share...

Change-Id: If4a47f84569e1cb58eb4d0f3c8e209e78177e615
2016-05-04 21:37:39 +00:00
TreeHugger Robot
94e3b80d5b Merge "Finish selection mode after copyto and share..." into nyc-dev 2016-05-04 20:58:39 +00:00
Steve McKay
1d8b98bdd3 Merge "Disable share when dirs selected." into nyc-dev
am: 3fff306827

* commit '3fff306827c6fe998f8569d71ea18da597eb5a85':
  Disable share when dirs selected.

Change-Id: I2dbe0e2081580b5096a60657b5dc35536dc8f873
2016-05-04 17:05:28 +00:00
Vladislav Kaznacheev
9d17528e7c Merge "Collect mime type data correctly for all URIs added to ClipData" into nyc-dev
am: e06ef946f4

* commit 'e06ef946f4f86e11f9a8ed5abe216ef7b76aebf0':
  Collect mime type data correctly for all URIs added to ClipData

Change-Id: I6f50e3c880cf7ae6f67f6571cdabe6d68cc1f7c1
2016-05-04 17:05:25 +00:00
Steve McKay
3fff306827 Merge "Disable share when dirs selected." into nyc-dev 2016-05-04 16:46:30 +00:00
Steve McKay
080efafe1f Finish selection mode after copyto and share...
actions are picked by user.
Bug: 27601508

Change-Id: I32cbc8e8eb4abba4161309327d5ce730610193ad
2016-05-03 17:48:22 -07:00
Steve McKay
9efd34e00c Disable share when dirs selected.
Pass a SelectionDetails object instead of a pile of booleans into updateActionMenu.
Normalized "is feature X enabled" naming.
Normalized menu fiddling in FilesTuner.

Bug: 28467604
Change-Id: Ic88fab78adf02f794ef0c0550443a3c075e7bab6
2016-05-03 15:57:27 -07:00
Vladislav Kaznacheev
067d6fadd9 Collect mime type data correctly for all URIs added to ClipData
Bug: 28452937
Change-Id: I883ae2d22e09000137fa484ef66d5070855cd0ed
2016-05-03 15:53:45 -07:00
Baligh Uddin
ee3c6c16ea Import translations. DO NOT MERGE
Change-Id: Ib7dadeb767bbec0b9696a2b2bfaffae32ae9bbb3
Auto-generated-cl: translation import
2016-05-02 20:15:15 -07:00
Baligh Uddin
b5b4a6e55e Import translations. DO NOT MERGE
Change-Id: I61a90d45c55e61704154cb3d502ae0e952b44299
Auto-generated-cl: translation import
2016-05-02 20:03:27 -07:00
Ben Lin
88dc2f020e Merge "Safe check so we don\'t move cursor beyond possible pos scope." into nyc-dev
am: 2360aa3

* commit '2360aa33db829121a25be271edbaaaf26e5b093e':
  Safe check so we don't move cursor beyond possible pos scope.

Change-Id: I6794563ae70782e773bdb83390758120f930fed8
2016-04-27 20:41:21 +00:00
Ben Lin
2360aa33db Merge "Safe check so we don't move cursor beyond possible pos scope." into nyc-dev 2016-04-27 20:33:52 +00:00
Bill Yi
4156eaa411 Import translations. DO NOT MERGE
Change-Id: I785aa5de30a7ddb63d7486dfcda2ac0e94528180
Auto-generated-cl: translation import
2016-04-27 05:52:55 -07:00
Bill Yi
6c82c5ab41 Import translations. DO NOT MERGE
Change-Id: Ice98eb3ed66513d4e324e5f1939006048caec376
Auto-generated-cl: translation import
2016-04-27 05:43:40 -07:00
Daichi Hirono
e69e98c817 Merge "Terminate DocumentsUI opened for the specific root." into nyc-dev
am: e597323

* commit 'e597323939c85f1e7e32272250b790e4d9e234e6':
  Terminate DocumentsUI opened for the specific root.

Change-Id: I21768a2d7e2a6b23a803af0d136b83a2b1f9b865
2016-04-27 01:31:41 +00:00
Tomasz Mikolajewski
b764e7e0bf Merge "Exclude virtual files from ACTION_SEND." into nyc-dev
am: b56bc29

* commit 'b56bc29657c3de0d957ec01c1c8e959d7354ea2d':
  Exclude virtual files from ACTION_SEND.

Change-Id: I37029f399b59c7f2d72fb9fc68a3d60f1449a8c1
2016-04-27 01:31:37 +00:00
TreeHugger Robot
e597323939 Merge "Terminate DocumentsUI opened for the specific root." into nyc-dev 2016-04-27 01:18:44 +00:00
Tomasz Mikolajewski
b56bc29657 Merge "Exclude virtual files from ACTION_SEND." into nyc-dev 2016-04-27 01:11:04 +00:00
Tomasz Mikolajewski
12898987f0 Merge "Fix index computation for quick viewing." into nyc-dev
am: 52036c7

* commit '52036c743c1fccf004247af35e9c95e12fb0a638':
  Fix index computation for quick viewing.

Change-Id: Ief946fe886f8a172cd9e75c0e59904293f0335e2
2016-04-27 00:36:19 +00:00
Tomasz Mikolajewski
52036c743c Merge "Fix index computation for quick viewing." into nyc-dev 2016-04-27 00:30:46 +00:00
Tomasz Mikolajewski
7c82c92051 Merge "Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%."" into nyc-dev
am: ee6d8be

* commit 'ee6d8be53e1dabf7669150e7e7e39daa58cac542':
  Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%."

Change-Id: I94fd56620c42796eb0c8c206d96ddfb1f5a8a436
2016-04-27 00:08:25 +00:00
Jeff Sharkey
ee6d8be53e Merge "Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%."" into nyc-dev 2016-04-27 00:04:02 +00:00
Alan Viverette
11125b0700 Merge "Remove -night qualified resources" into nyc-dev
am: 83ca62b

* commit '83ca62bdbe00359a1cf574efc5abfb19c5f57337':
  Remove -night qualified resources

Change-Id: Ie61dafd3462a85bec90496a0ee4aa3e06d96c8e4
2016-04-26 18:37:49 +00:00
TreeHugger Robot
83ca62bdbe Merge "Remove -night qualified resources" into nyc-dev 2016-04-26 18:33:05 +00:00
Daichi Hirono
99900a0e58 Terminate DocumentsUI opened for the specific root.
If USB is opened in DocumentsUI from storage settings and format it from
context menu, a user expects it goes back to storage settings after
formatting the storage.  However, previous we show Downloads as a result
of redirect from the previous USB storage.

The CL changes the logic for callback so that it finishes the activity
if DocumentsUI is opened for the specific root and the root was removed
while a user stays at the root.

Fixes: 28246076
Change-Id: I5548152fc27fd13bd9b75b3083bcfbdd9f93509e
2016-04-26 16:52:44 +09:00
Tomasz Mikolajewski
f61b0b8440 Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%."
This reverts commit 2e4e14789e.

Bug: 28371571
Change-Id: I7aad5eb483c17cccb3485eb22effb677e1ba2160
2016-04-26 11:13:50 +09:00
Alan Viverette
c7d34bb3dc Remove -night qualified resources
Bug: 28358465
Change-Id: I3e9c3ec21bdc39426aa5f81373ca44e61eb6974a
2016-04-25 12:57:54 -04:00
Bill Yi
dcd656051a Import translations. DO NOT MERGE
Change-Id: I0812aa0343d38d49e868e1e8fd895cb9d924b366
Auto-generated-cl: translation import
2016-04-25 04:49:48 -07:00
Tomasz Mikolajewski
f0a56721ae Exclude virtual files from ACTION_SEND.
Bug: 28312221
Change-Id: Ic137ac5e6140cd9e56dc772ada31bb53e451e5f8
2016-04-25 10:21:30 +09:00
Tomasz Mikolajewski
6be540666a Fix index computation for quick viewing.
Bug: 28305994
Change-Id: I8c7abc83bd5ca6f01533a4a7ed0bb995c00833af
2016-04-25 10:00:56 +09:00
Garfield, Tan
b86c38f995 Merge "Disable view recycling to avoid passing wrong type of view to Item.bindView()." into nyc-dev
am: a5dd3f3

* commit 'a5dd3f32403deb01ad260d50468f4daf8988ab01':
  Disable view recycling to avoid passing wrong type of view to Item.bindView().

Change-Id: Id21f8e5546e28179954e39903baaebf5feff356a
2016-04-22 23:33:59 +00:00
Ben Lin
71c7565093 Safe check so we don't move cursor beyond possible pos scope.
Bug: 28278372
Change-Id: I7c66b5229ae3a6a1b99bdf0f02bf1f0b8a1c79b2
2016-04-22 16:13:08 -07:00
Garfield Tan
a5dd3f3240 Merge "Disable view recycling to avoid passing wrong type of view to Item.bindView()." into nyc-dev 2016-04-22 22:47:38 +00:00
Garfield, Tan
050f98da0d Merge "DO NOT MERGE: Disable drag n\' drop in DocumentsActivity." into nyc-dev
am: 6e685dc3c5

* commit '6e685dc3c519526a0f38ec5ee9e81e1f57e0fa36':
  DO NOT MERGE: Disable drag n' drop in DocumentsActivity.

Change-Id: I9e4424bfbffc46cd1880241b6961c0f0ca75aab4
2016-04-22 17:47:33 +00:00
Garfield, Tan
360a1964a7 DO NOT MERGE: Disable drag n' drop in DocumentsActivity.
Bug: 28318396
Change-Id: If27bc093b873af5395f69d9139d3fd96e50c0a7b
2016-04-21 16:34:37 -07:00
Garfield, Tan
9eb8818059 Disable view recycling to avoid passing wrong type of view to
Item.bindView().

Bug: 28298672

Change-Id: I1f7442ea3c6287da40b3e5fde25b16c2f2a7b685
2016-04-21 14:09:28 -07:00
Tomasz Mikolajewski
caad05bf83 Merge "Do not make files in zip disabled in ACTION_VIEW." into nyc-dev
am: 69e3618f07

* commit '69e3618f07be6f48bfc37c52e6ef5830f717b495':
  Do not make files in zip disabled in ACTION_VIEW.

Change-Id: I6c4749738e1bc6116e4e56c494932a62d2c16ac9
2016-04-21 03:26:01 +00:00
Tomasz Mikolajewski
69e3618f07 Merge "Do not make files in zip disabled in ACTION_VIEW." into nyc-dev 2016-04-21 03:17:03 +00:00
Steve McKay
21c712bf82 Merge "Only show OPEN button as needed." into nyc-dev
am: d8c2459

* commit 'd8c2459b5010526853de8f35008efd1cafe950ac':
  Only show OPEN button as needed.

Change-Id: I8ed24327745d497f0fb7308671a4820fa21f0953
2016-04-20 14:30:29 +00:00
Steve McKay
d8c2459b50 Merge "Only show OPEN button as needed." into nyc-dev 2016-04-20 14:25:07 +00:00
Tomasz Mikolajewski
1037af38a4 Do not make files in zip disabled in ACTION_VIEW.
Intent.ACTION_VIEW is only used for browsing ZIP files from Downloads.
FragmentTuner should ignore the MIME type from the MIME type filter.

This CL removes the MIME type filtering logic from FilesTuner, as
I believe FilesActivity is never used for picking items, so there should
be no need to mark any files as disabled.

Bug: 28267117
Change-Id: Iba92f82aca60154674a4bea3265b0f1a3ae296dc
2016-04-20 16:50:25 +09:00
Tomasz Mikolajewski
241e9fc00f Merge changes I5e500724,I40cfb12c into nyc-dev
am: 0fb5135

* commit '0fb51357afb64a034a59f68a926f79d18213c72c':
  Restrict selection to 1000 items in DocumentsUI.
  Cancel band selection on directory change.

Change-Id: Id421aa25d0ad1e4134ecfeabd84aad801fdb4f13
2016-04-20 04:03:24 +00:00
Tomasz Mikolajewski
0fb51357af Merge changes I5e500724,I40cfb12c into nyc-dev
* changes:
  Restrict selection to 1000 items in DocumentsUI.
  Cancel band selection on directory change.
2016-04-20 03:57:28 +00:00
Steve McKay
1e92215278 Merge "Handle null uris in content changed events." into nyc-dev
am: 00c9815

* commit '00c9815d942265719de92a19e243c1c970929210':
  Handle null uris in content changed events.

Change-Id: Ic249a09d6cdbc04acab19e2b64a12f59faeff51f
2016-04-19 17:16:27 +00:00
Steve McKay
00c9815d94 Merge "Handle null uris in content changed events." into nyc-dev 2016-04-19 17:10:25 +00:00
Baligh Uddin
4a19326d91 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-19 15:36:50 +00:00
Tomasz Mikolajewski
76572d6f19 Restrict selection to 1000 items in DocumentsUI.
Bug: 27208679
Change-Id: I5e500724a3fb9af5b8f59e0c959523da5066b1fd
2016-04-19 08:51:46 +00:00
Tomasz Mikolajewski
4759c9f03f Cancel band selection on directory change.
This is a workaround for N. Ideally we should keep the band selection,
as directory may change very often, eg. during loading, or downloading
a file (every second).

Bug: 27224277
Change-Id: I40cfb12c4f7928c4e0d6e675e91ba30ab3a6ab52
2016-04-19 17:51:05 +09:00
Baligh Uddin
ec58ba6c89 Import translations. DO NOT MERGE
Change-Id: I1cba5a5c47981751f6134338855f3bd2cbdd9eb1
Auto-generated-cl: translation import
2016-04-18 22:09:26 -07:00
Steve McKay
757fa1b684 Handle null uris in content changed events.
Bug: 28244958
Change-Id: Id3a7adb0ab4a751cfcf6ed3fee4cc6337ce512bb
2016-04-18 17:36:17 -07:00