- 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
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
Previously MtpDocumentsProvider used pipes to transfer bytes from an
application to the provider when writing a document. The problem was
application could not ensure that the last chunk of bytes was
successfully written to MTP device, since pipes had been already closed
when the provider transferred bytes to MTP device. Though the provider
encountered an error, the provider could not report the error to an
application.
The CL switches the method to transfer bytes from pipes to AppFuse. Now
application can flush() bytes on the file descriptor, and flush will not
complete until the provider completes writing bytes to MTP device.
Fixed: 23093747
Change-Id: I4e28f8cbf19d6c97e591943349a7535241d768f7
This CL adds two jank tests:
* For opening a root (directory) with many files.
* For flinging through a directory with many files.
Bug: 27383277
Change-Id: Ie67efe6d5495ff3a8ed63135ed7ec2d4e6262bd2
status bar."" with a fix for cts tests.
This reverts commit 0574d169ba1e649d8bd54d28ba74b9707e675e37.
Change-Id: I33deeef839092956a67ec31bcdbfbbd540db8b68
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
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
App icon can be redered in various size and mipmap automatically
switches to high-resolution resources regardless of screen size when the
icon is rendered in large size.
BUG=27804140
Change-Id: Ib14a4d8ec8ac601f46510ad50ab18f28408b8fc1
We have to change the color only in a specific place,
not the accent color everywhere.
This reverts commit 8e22d69df21e638452d07f5dd12f323fb40059a5.
Change-Id: I6d712fc1d0275f91b20ff90f91450e849cbb1622
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