2165 Commits

Author SHA1 Message Date
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
Bill Yi
62d6636f51 Import translations. DO NOT MERGE
Change-Id: I4a5a1ad299727ef54ef80f5096b4cbf1f84b5077
Auto-generated-cl: translation import
2016-04-25 03:13:52 -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
3a784cdefb Merge "Disable view recycling to avoid passing wrong type of view to Item.bindView()." into nyc-dev am: a5dd3f3 am: 105fba9
am: f6b562d

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

Change-Id: I9729d7de6472991054645ad6c61b8703730c0c8c
2016-04-22 23:50:00 +00:00
Garfield Tan
f6b562d20d Merge "Disable view recycling to avoid passing wrong type of view to Item.bindView()." into nyc-dev am: a5dd3f3
am: 105fba9

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

Change-Id: Ibe7ec20b6f3ab7ae78a72547c12459307c5b2a92
2016-04-22 23:39:38 +00:00
Garfield, Tan
105fba9c08 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: I7848f1888db79bfdd2744d88b10ab797d5dae47f
2016-04-22 23:34:04 +00: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
b6f30bae48 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: I1ae95e8e373ae2883eb923e6a416bedb0218275a
2016-04-22 17:47:31 +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
Ben Lin
185f48b7eb Merge "Enable Ctrl+X cut operations, along with some code refactor." 2016-04-21 19:57:11 +00:00
Ben Lin
5822949696 Reverting 26160443 to fix new bug (old bug no longer reproducible).
Bug: 27790638
Change-Id: I5d442d5162769c9fd022ab706cc0dd1a505c7fad
(cherry picked from commit e590d9139fa5156214f3b137db8afb90efe60a19)
2016-04-21 17:11:46 +00:00
Tomasz Mikolajewski
a9f4fde5a8 Merge "Do not make files in zip disabled in ACTION_VIEW." into nyc-dev am: 69e3618f07 am: 559b2bb8c1
am: 67dbeab77c

* commit '67dbeab77c8194c77c06cb99ef6335f3c049e5a2':
  Do not make files in zip disabled in ACTION_VIEW.

Change-Id: I1fd8f3c68c68195ba27d5c606da1655e3cf3fec6
2016-04-21 03:38:00 +00:00
Tomasz Mikolajewski
559b2bb8c1 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: I9908e4db12640251a5fd60ca0fff950078d628aa
2016-04-21 03:26:03 +00: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
Ben Lin
b1404b774d Enable Ctrl+X cut operations, along with some code refactor.
Bug: 27451823
Change-Id: I062dcbd065434c22a3ffeb33d4cac2b4f9da104b
(cherry picked from commit 5b696f91aa0f12f29be5205647bdc398e2831af8)
2016-04-21 00:12:07 +00:00
Steve McKay
9335b16729 Merge "Only show OPEN button as needed." into nyc-dev am: d8c2459 am: 21c712b
am: 52f3f33

* commit '52f3f3393cab14713cb95ea8b9555981ec14cb93':
  Only show OPEN button as needed.

Change-Id: I560ae36e9b647ad7402b01a8ffd360300c79aa28
2016-04-20 14:48:40 +00:00
Steve McKay
52f3f3393c Merge "Only show OPEN button as needed." into nyc-dev am: d8c2459
am: 21c712b

* commit '21c712bf82c708ce29f78bba4d449b9cdec51aaa':
  Only show OPEN button as needed.

Change-Id: I7a38ca7110f9d8588b5f4cf7cd0d119229254e91
2016-04-20 14:36:22 +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
3a254a294e Merge "Only show OPEN button as needed." into nyc-dev
am: d8c2459

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

Change-Id: Id0c72edb6417571595a48162cc97cae9ea0c62a0
2016-04-20 14:30:27 +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
dd719e88e5 Merge changes I5e500724,I40cfb12c into nyc-dev am: 0fb5135 am: 241e9fc
am: 9aa1851

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

Change-Id: I88518e167cd06046888077ede90302c3b8fbdf1e
2016-04-20 05:26:50 +00:00
Tomasz Mikolajewski
9aa1851925 Merge changes I5e500724,I40cfb12c into nyc-dev am: 0fb5135
am: 241e9fc

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

Change-Id: Ia5a0cb7dee32cab3f5f5b07c2b83cd8933fcae1b
2016-04-20 05:20:55 +00:00
Tomasz Mikolajewski
37e080e3f0 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: Ia38b188789483ee24469f4091c44c5d059ae402d
2016-04-20 04:03:25 +00: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
30ae172336 Merge "Handle null uris in content changed events." into nyc-dev am: 00c9815 am: 1e92215
am: 8a5139a

* commit '8a5139ab69b9a816c9f28a5cdc38ac934c20fce7':
  Handle null uris in content changed events.

Change-Id: I8f693a6255fa0b8fad1691e49a906d8035de13fb
2016-04-19 17:28:42 +00:00
Steve McKay
8a5139ab69 Merge "Handle null uris in content changed events." into nyc-dev am: 00c9815
am: 1e92215

* commit '1e92215278dc677a943b5fb258ed5588246ae371':
  Handle null uris in content changed events.

Change-Id: I69ab40f2fdd8544ff08aebd17ff4de1ac585c32c
2016-04-19 17:22:30 +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
a7f5e8a23f Merge "Handle null uris in content changed events." into nyc-dev
am: 00c9815

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

Change-Id: I2945895f58795dce9a439e58844b1406dec7abf1
2016-04-19 17:16:20 +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
Baligh Uddin
8a0c3a618d Merge "Import translations. DO NOT MERGE" 2016-04-19 15:32:32 +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
Baligh Uddin
5bad00ddd1 Import translations. DO NOT MERGE
Change-Id: Ib25408f0df0863eb8b9f5984a94d4dc77a675dff
Auto-generated-cl: translation import
2016-04-18 20:03:43 -07:00
Felipe Leme
b3639ce6db Merge "Added extra validation for invalid paths." into nyc-dev am: 40297c1a9c am: 884e8e0782
am: 3414328727

* commit '3414328727dd5cda1f94ffa08d568aad05d5859e':
  Added extra validation for invalid paths.

Change-Id: I41133bbeb3a521fced5f90ad4d7c1b53a5feb9f0
2016-04-19 02:19:53 +00:00
Felipe Leme
884e8e0782 Merge "Added extra validation for invalid paths." into nyc-dev
am: 40297c1a9c

* commit '40297c1a9ce076797d2576e96fbd2f0d76eef1d5':
  Added extra validation for invalid paths.

Change-Id: I31fa1fdcd0fad0b27c231f5c1ff6f329b6576270
2016-04-19 02:14:49 +00:00
Steve McKay
757fa1b684 Handle null uris in content changed events.
Bug: 28244958
Change-Id: Id3a7adb0ab4a751cfcf6ed3fee4cc6337ce512bb
2016-04-18 17:36:17 -07:00
Felipe Leme
8478bf468e Added extra validation for invalid paths.
In normal circumstances, StorageVolume can only be obtained through
StorageManager and hence it will contain a valid path internally. But
the path could be invalid in at least 2 occations:

- App maliciously changed it using reflection.
- Mounted volume was ejected.

This change improves OpenExternalDirectoryActivity so it returns a
RESULT_CANCELED upon receiveving an invalid path.

BUG: 27962875

Change-Id: Ide43968babaa37961c7b704bd289f44eac952e94
2016-04-18 14:55:15 -07:00
Steve McKay
64bf86503b Only show OPEN button as needed.
Bug: 28182686
Change-Id: I61152015ae5e7b92eead7f42a546ca6055dd426a
2016-04-18 12:22:28 -07:00
TreeHugger Robot
5df62d98a2 Merge "Fallback to Recents when Downloads is not available." into nyc-dev am: 793f859
am: d189718

* commit 'd18971811fb8c54c55bf59f34662650101a3eff0':
  Fallback to Recents when Downloads is not available.

Change-Id: Idb3013039889ed57f98aca454bf6a597764cb2ef
2016-04-15 23:39:55 +00:00