1318 Commits

Author SHA1 Message Date
Tomasz Mikolajewski
378f409034 Merge "Fix testModelIdIsUnique test in DocumentsUI." into nyc-dev 2016-03-24 00:40:07 +00:00
Felipe Leme
9eb5555aa6 Merge "Allow Scoped Directory Access on whole volume." into nyc-dev 2016-03-23 17:58:48 +00:00
Geoff Mendal
2daca7a181 Import translations. DO NOT MERGE
Change-Id: I98b04d1538e8c5d6e797f23b2ef195c166cd0a16
Auto-generated-cl: translation import
2016-03-23 07:17:21 -07:00
Tomasz Mikolajewski
2bd66d68d8 Merge "Revert "Make the accent color darker in DocumentsUI for better accessibility."" into nyc-dev 2016-03-23 09:46:20 +00:00
Daichi Hirono
b9129bede2 Merge "Revert "Make status bar translucent. Make drawer appera below status bar."" into nyc-dev 2016-03-23 08:32:01 +00:00
Daichi Hirono
0574d169ba Revert "Make status bar translucent. Make drawer appera below status bar."
This reverts commit 4639136c3b4bc22064323a193f06d6585e1a171a.
The commit breaks the following CTS tests.

 * android.appsecurity.cts.DocumentsTest#testCreateExisting FAIL
 * android.appsecurity.cts.DocumentsTest#testCreateNew FAIL

BUG=27805363,27570567

Change-Id: Ic9f1d98714a78afe548eb5ae9afa118ddc83cccc
2016-03-23 17:29:06 +09:00
Tomasz Mikolajewski
d283221426 Fix testModelIdIsUnique test in DocumentsUI.
The logic changed, so the test had to be updated. Basically we support
multiple authorities only for cursors wrapped with MergeCursor.

Bug: 27742039
Change-Id: If07e1bf52279072e408a90efbe838a1d76adfcfd
2016-03-23 16:41:48 +09:00
Daichi Hirono
c545f5e617 Fix the directory item height in grid view.
BUG=27565668

Change-Id: I3d5615b46542dcd0f22f5e9968d3ee5bfe1af19a
2016-03-23 16:35:32 +09:00
Tomasz Mikolajewski
8ed1e55ea9 Merge "Hide underlying toolbars from TalkBack when covered by ActionMode." into nyc-dev 2016-03-23 01:16:09 +00:00
Aga Wronska
2686d7399d Merge "Bring the change 'Open drawer when showing copy/move destination screen' back after fixing problem with tests." into nyc-dev 2016-03-23 01:15:12 +00:00
Tomasz Mikolajewski
4b9b03e6b2 Revert "Make the accent color darker in DocumentsUI for better accessibility."
We have to change the color only in a specific place,
not the accent color everywhere.

This reverts commit 8e22d69df21e638452d07f5dd12f323fb40059a5.

Change-Id: I6d712fc1d0275f91b20ff90f91450e849cbb1622
2016-03-23 00:58:05 +00:00
Aga Wronska
67c76b960c Bring the change 'Open drawer when showing copy/move destination screen'
back after fixing problem with tests.

Revert "Revert "Open drawer when showing copy/move destination screen""

This reverts commit 82ae18c87784b5989c1529b97214d63e5d9d3742.
Fixed: 27479369

Change-Id: I70f98cf543de889a9a728d8d7233f8e7b077f871
2016-03-22 17:33:15 -07:00
Tomasz Mikolajewski
18bbea9c96 Merge "Update colors for list/grid view." into nyc-dev 2016-03-23 00:20:27 +00:00
Tomasz Mikolajewski
13bcd7b3c3 Merge "Make the accent color darker in DocumentsUI for better accessibility." into nyc-dev 2016-03-23 00:20:05 +00:00
Aga Wronska
a1b1355633 Merge "Change copy/move destination to Downloads when home directory is hidden." into nyc-dev 2016-03-22 23:03:03 +00:00
Aga Wronska
4e62716904 Change copy/move destination to Downloads when home directory is hidden.
Bug: 27791217
Change-Id: If196441a57053ada9875c6cc29d4c7f13fcb57e8
2016-03-22 14:18:43 -07:00
Ben Kwa
dcaf047a41 Merge "DocsUI: Disable debug logging by default." into nyc-dev 2016-03-22 20:01:51 +00:00
Ben Kwa
ffa829f779 DocsUI: Disable debug logging by default.
Per the platform team, we shouldn't enable debug logging automatically
in debug builds because it increases log-spam.  Just disable the flag
and enable it manually when needed.

Add some ifs to make sure all our debug logging is properly removed.

BUG=27380154

Change-Id: I8338f226c07affdb65970c7cb14f1e6aae036934
2016-03-22 11:38:59 -07:00
Ben Kwa
71432a08c6 Merge "DocsUI: Switch the launcher icon to Downloads." into nyc-dev 2016-03-22 17:30:52 +00:00
Ben Kwa
e912e8af99 DocsUI: Switch the launcher icon to Downloads.
Switch to using the "Downloads" icon for this app in the launcher.

BUG=25954736

Change-Id: I44092505b02bccdbe8d49463dbb327f836dd6155
2016-03-22 10:24:57 -07:00
Aga Wronska
5f7d673f3b Merge "Add config flag to show/hide internal storage. Hide internal storage by default." into nyc-dev 2016-03-22 17:04:28 +00:00
Aga Wronska
1363b677b3 Merge "Make status bar translucent. Make drawer appera below status bar." into nyc-dev 2016-03-22 16:27:49 +00:00
Jeff Sharkey
9d9a55be9d Merge "Only enable asserts on userdebug/eng builds." into nyc-dev 2016-03-22 15:13:13 +00:00
Daichi Hirono
5c3a1525b3 Merge "Revert "Open drawer when showing copy/move destination screen"" into nyc-dev 2016-03-22 10:46:45 +00:00
Daichi Hirono
82ae18c877 Revert "Open drawer when showing copy/move destination screen"
This reverts commit 4d5f9f6a7f3b9aa8f7fd1a733ba739e5bfe3ed66.
The CL breaks android.appsecurity.cts.DocumentsTest.

BUG: 27746116, 27479369
Change-Id: Ib9426c54e8c9841f3def55a88e07bf4a2cd7dcac
2016-03-22 19:43:41 +09:00
Tomasz Mikolajewski
1e479abcfd Hide underlying toolbars from TalkBack when covered by ActionMode.
Bug: 27725451
Change-Id: I8479e2438e671e7fb7ef09e0d77963f8cc4d951a
2016-03-22 18:50:52 +09:00
Tomasz Mikolajewski
ace5a78194 Merge "Notify via TalkBack about selected items." into nyc-dev 2016-03-22 09:40:51 +00:00
Tomasz Mikolajewski
52137acd0c Notify via TalkBack about selected items.
Bug: 27723098
Change-Id: I6927b004b3e5a592325646ae3a4663bb298a65c8
2016-03-22 16:43:59 +09:00
Tomasz Mikolajewski
87cc84e7d6 Update colors for list/grid view.
Bug: 27578805
Change-Id: Ibddc84cf1d1d577fcb22084aaea5e3a98ffcae3c
2016-03-22 15:49:46 +09:00
Tomasz Mikolajewski
8e22d69df2 Make the accent color darker in DocumentsUI for better accessibility.
Bug: 27724950
Change-Id: I8c44ed6caf2b4e2933f8231e61cfbae00f4feecf
2016-03-22 13:43:06 +09:00
Daichi Hirono
c469585cf7 Merge "Change the title of DocumentsUI from "Files" to "Downloads"." into nyc-dev 2016-03-22 01:20:26 +00:00
Aga Wronska
1719b3555d Add config flag to show/hide internal storage.
Hide internal storage by default.

Revert "Always show intern storage."

This reverts commit 7c4395804e450533afb553ab992c47f737da8a9b.

Bug: 27683276

Change-Id: I04ea8b9a307babcea003f9bec200d41265a42c7f
2016-03-21 17:33:27 -07:00
Jeff Sharkey
33758d8513 Only enable asserts on userdebug/eng builds.
Bug: 27699194
Change-Id: Id20f808448ae94371da62d38387f90ad97e7cbd3
2016-03-21 17:04:07 -06:00
Felipe Leme
db892b84e5 Allow Scoped Directory Access on whole volume.
There are some scenarios where an app needs access to the whole SD Card,
not subdirectories. For example, user might have a SDCard with
directories like vacation_pictures (instead of Pictures/vacation);
another example is a file management app.

BUG: 27676858
Change-Id: I20ef713de7e4dfa7e2d7d07bab11898af186d673
2016-03-21 14:25:17 -07:00
Aga Wronska
4639136c3b Make status bar translucent. Make drawer appera below status bar.
Change-Id: I6089a7b5d88514f5df9212839709d38daeb3be8b
Fixed: 27570567
2016-03-21 10:53:13 -07:00
Geoff Mendal
f2189e945e Import translations. DO NOT MERGE
Change-Id: I032236836b7ce9f766a9f8819a683b9066254737
Auto-generated-cl: translation import
2016-03-21 07:10:50 -07:00
Geoff Mendal
bc0f989cba Import translations. DO NOT MERGE
Change-Id: I97e3392c322f11a08bce3c58e5a1c19736809a80
Auto-generated-cl: translation import
2016-03-19 13:39:18 +05:30
Aga Wronska
15066a4069 Merge "Change enter/exit folder animation speed and delay." into nyc-dev 2016-03-18 23:26:20 +00:00
Jeff Sharkey
9eacb81e83 Merge "Avoid spinning up DocumentsProviders at boot." into nyc-dev 2016-03-18 21:23:19 +00:00
Jeff Sharkey
e090b7963c Avoid spinning up DocumentsProviders at boot.
Bug: 27743087
Change-Id: Ia89465c5d13a74f3b78a0d84f1ecfe5fd2a6e744
2016-03-18 15:22:27 -06:00
Daichi Hirono
2917fa9dd5 Change the title of DocumentsUI from "Files" to "Downloads".
BUG=27683277

Change-Id: I429cae8804b8f318f58039fc63d081c2a864fad0
2016-03-18 17:46:57 +09:00
Aga Wronska
632f91b653 Change enter/exit folder animation speed and delay.
Change-Id: I6150911fdfe331d76171b1806fe776540309405f
Fixed: 27654570
2016-03-17 19:43:09 -07:00
Tomasz Mikolajewski
007151a90d Reduce memory allocations and improve sorting in DocumentsUI by 8.42%.
Reland after a revert. No changes.

Bug: 27286016
Change-Id: I0988062106faf4086c44d9b344649ef2cb86d3e7
2016-03-18 02:15:10 +00:00
Tomasz Mikolajewski
4683d4c914 Merge "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%." into nyc-dev 2016-03-18 01:48:16 +00:00
Aga Wronska
836ed4a582 Merge "Add config flag to hide home directory ("Documents") from the roots list. Make home root hidden by default." into nyc-dev 2016-03-18 00:54:16 +00:00
Tomasz Mikolajewski
2e4e14789e Precompute cursor indexes in DocumentsUI and improve perf by 2.7%.
Relands after a revert, with a tiny fix.

Bug: 27286016
Change-Id: Ifb6cea46a86e8158b05db5dbf87878892c6cc702
2016-03-18 09:48:24 +09:00
Aga Wronska
824ac17ae3 Generate more descriptive delete confirmation message.
Change-Id: I194ef353aec9d2841b5f3fc8dfd76df6286ce969
Fixed: 27489240
2016-03-17 16:44:10 -07:00
Aga Wronska
b4129d785c Add config flag to hide home directory ("Documents") from the roots list.
Make home root hidden by default.

Change-Id: Ia9f97f3cad7ab102d65e01d6e0dd9bc39ab72f21
Fixed: 27683725
2016-03-17 11:57:29 -07:00
Tomasz Mikolajewski
f9845b4ecf Merge "Add a performance test for launching DocumentsUI." into nyc-dev 2016-03-17 08:11:53 +00:00
Tomasz Mikolajewski
5cd060a931 Update comment for compareToIgnoreCaseNullable().
Bug: 27286016
Change-Id: I0ff4d59e24e8afe129aa8a2921d3de71d3df7236
2016-03-17 06:20:12 +00:00