| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
devices in DocumentsUI." into klp-dev
* commit '703840da8a33c703f2d787526438c650b0318845':
Include external storage devices in DocumentsUI.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
DocumentsUI." into klp-dev
* commit '1a5804d7aa253432f37fbd5d8eb89ac363501fe9':
Include external storage devices in DocumentsUI.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Include volume UUID in generated document IDs to uniquely identify
volumes over time. Show volume label to users. Watch for mount
changes to update available roots.
Bug: 11175082
Change-Id: Ia151bde768587468efde0c1d97a740b5353d1582
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
orientation metadata." into klp-dev
* commit '25b99efb3259c9f6d7bcdacd3cb2bafd6b1a0e63':
Add extras to AFD, send orientation metadata.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
metadata." into klp-dev
* commit 'ac0cb3591a637533c1f0329fd00a621fbe1fd997':
Add extras to AFD, send orientation metadata.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
AssetFileDescriptor augments a ParcelFileDescriptor with details
about how it should be interpreted, so extend it to support a Bundle
of extras. Then use these extras to share thumbnail orientation
metadata.
The raw image data of EXIF thumbnails matches the orientation of
the enclosing image, but the thumbnail data doesn't repeat the EXIF
flags. This meant that receivers of openDocumentThumbnail() would
get an image that needed to be transformed, but without enough
context to actually transform it.
Instead of transforming and recompressing the image on the fly on
the provider side, send a transformation hint that the receiver
side can interpret.
Bug: 11205688
Change-Id: Ibc5a7ad002377a55e6ffcb5ac5c8829841002e06
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
unknown." into klp-dev
* commit '416165f4313ac2deea430030ff44d9da0388b8bc':
Treat dates near epoch as unknown.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
klp-dev
* commit 'ce05cbc5ec52417f1f927be2b3d9b93e0881a4d9':
Treat dates near epoch as unknown.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also document that rootIds need to be stable, so removable media
roots should use the media serial number.
Bug: 11151557
Change-Id: I1f3dcabcd0474f1bf92d2cafb0f37e82abe34e05
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
<provider>." into klp-dev
* commit '9d1383c61ca0932cb36b104a89c32db15de6a10e':
Add <intent-filter> support to <provider>.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
into klp-dev
* commit '5e02e0a9e1e075e3d451d929b0a67bf280c432ed':
Add <intent-filter> support to <provider>.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For the new documents work, we're only interested in the subset of
ContentProviders that actually implement DocumentsContract. Instead
of returning all providers, add <intent-filter> support to make it
easier to limit the set of returned ProviderInfo.
Define a well-known action for DocumentsProviders, and start using it
when querying for roots. Continue supporting the old <meta-data>
approach until all apps have been updated.
Bug: 8599233
Change-Id: I05f049bba21311f5421738002f99ee214447c909
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
DocumentsProvider." into klp-dev
* commit '21d8e96d840be42fae56483a2e291fc10677b2d9':
Isolate calls to each remote DocumentsProvider.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
DocumentsProvider." into klp-dev
* commit 'ef4c3790e52beab467359f6b5125b66fbe1993ef':
Isolate calls to each remote DocumentsProvider.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
All background work is going through AsyncTasks, which uses a shared
thread pool. Even with the new ContentProviderClient logic to detect
ANRs, the UI can still appear to be unresponsive for 20 seconds, even
if the user attempted to switch to a different backend. In the worst
case, a backlog of thumbnail requests would end up wedging Loaders
for a long time, since they all share the same THREAD_POOL_EXECUTOR.
This change isolates calls to each provider onto their own thread,
which they're free to wedge and recover from over time.
It also means we no longer need a dedicated thread pool for recents
loading, and can use a simpler Semaphore instead.
Disables thumbnails in recents on svelte devices.
Bug: 10993301, 11014856
Change-Id: I7f8a5bbb5f64437e006cb2c48b7e854136d5c38c
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
ContentProviders, treat as ANR." into klp-dev
* commit '7f60e70e815d381035b141843395830407c198d9':
Detect wedged ContentProviders, treat as ANR.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
ANR." into klp-dev
* commit '666b998b67fe7bb6fc11dd6d683a18b5690afd39':
Detect wedged ContentProviders, treat as ANR.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
All ContentProvider calls are currently blocking, making it hard for
an app to recover when a remote provider is wedged. This change adds
hidden support to ContentProviderClient to timeout remote calls,
treating them as ANRs. This behavior is disabled by default.
Update DocumentsUI to use a 20 second timeout whenever interacting
with a storage provider.
Bug: 10993301, 10819461, 10852518
Change-Id: I10fa3c425c6a7225fff9cb7a0a07659028230cd3
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'cc637d9ae5920ac2f685090f595dc1e1643d71cc':
New roots UX, async, performance, docs.
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit 'cc637d9ae5920ac2f685090f595dc1e1643d71cc':
New roots UX, async, performance, docs.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Yet another iteration from UX on how roots should be ordered. Since
we no longer categorize by type, remove from public API. Updated
asset drop with new dividers.
Update public API docs to be explicit about required columns. Hide
flags and columns that aren't required for third-party apps.
Move remainder of potentially blocking work to AsyncTasks, including
creating directories, picked root resolution, and creation of new
documents once picked.
Improve performance of layouts by removing baseline alignment and
reduce hierarchy depth. Set alpha on ImageViews directly to avoid
offscreen rendering hit.
Limit returned recents to 45 days. Show load in recents when still
waiting for backends. Show empty message when no recents stacks to
create from. Use unique key when saving recent stacks.
Bug: 10941423, 10819454, 10964412, 10960718
Change-Id: I08cf589dcda7e203acf67928f4d30322ae36ee94
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
assets." into klp-dev
* commit 'cd30bb6c710d40839bc8b4d6edcb866f13342b5a':
Directories are always enabled; update assets.
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'bb77d99c257bc4a3371548c4bc8ba7088fa76005':
Directories are always enabled; update assets.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix bug where item enabled state depended on FLAG_SUPPORTS_WRITE;
directories are now always enabled. Also unifies enabled testing.
Bug: 10903210, 10946731
Change-Id: I241533d273dfe4a2146bb322a8bd93066bf4ef55
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
bugs." into klp-dev
* commit 'b8a48da2a707720a105584f1b8dc087a6dd9c887':
Create unique files, root ordering, UI bugs.
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '5e1a5e5bad475696e842addceb7dd6a519879f98':
Create unique files, root ordering, UI bugs.
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When a file already exists on disk, try adding a counter suffix to
make a unique name. Move services near top of roots list, just below
recents. Remove "Documents" root.
Increase number of recents allowed from single provider, and add more
logging to diagnose wedged loaders.
When launching GET_CONTENT apps, wait for successful result before
relaying result; canceled requests now return to DocumentsUI.
Add CloseGuard to ContentProviderClients, since leaked instances can
keep the remote process alive.
Fix UI bug around trailing breadcrumbs. Fix bug that dropped Recents
from roots list. Add up action to Settings activity. Give our
activity a default icon while waiting for async roots to load.
Bug: 10818683, 10819461, 10819461, 10819196, 10860199
Change-Id: I7b9e26b1cf8353dd3175458b23da2b4bda6c5831
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
as API" into klp-dev
* commit 'a35ff66127d07117e93268482d7e9719abfd58c3':
Surfaces ParcelFileDescriptor#parseMode() as API
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
klp-dev
* commit 'd473ebb7c4f212cb9f74fe748bb8b95d7d126417':
Surfaces ParcelFileDescriptor#parseMode() as API
|
| | |\ \
| | | |/
| | |/| |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Moves ContentResolver#modeToMode() to ParcelFileDescriptor#parseMode()
bug:10711271
Change-Id: I28a5de4ca70adfbec4caf739863b77f0fd7fd9a4
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '89dec7e6e9ab98141de89096ef052cb2c158c557':
Load RootInfo in background, invalidation.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit 'a9ce049db87259e302e2368d2a4a1c11a94fd831':
Load RootInfo in background, invalidation.
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move all RootInfo queries to background threads to avoid janking
the UI. Update passes happen on spawed task, which swaps out updated
cache results when finished. Support partial updates when only a
single package/authority has changed. Watch for change notifications
for roots, since flags can change over time.
Ignore stopped packages when in background, but query them for roots
when launching any picker UI.
Optimize management launches by treating as one-shot requests that
don't need to wait for all RootInfo.
Bug: 10600454, 10745490
Change-Id: Ibc7b15688ef6b41bd7e9dd0d7564b501e60e49a9
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I0da9befa56ba6e4a599b5796182898cc7093043d
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Icd16c449ff68a89ecd4a36856764d24f5894c9e5
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I68895c16a26ecc9554bfc53e9d9346fe29412fec
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Idfb9ef96c1c4ea6fc1ca836114a8eb09be18f8f4
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I75cbdcca61cb05f29e4463284be324e684df51bd
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I6c1b05ea202375f8bbc242721fa064ab65453693
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ief842f34cd92fa66273c28e28fd6376b37dfbd5e
Auto-generated-cl: translation import
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
empty." into klp-dev
* commit 'f5513f41fe041bef29ec70abdce7cc6f582a11c2':
Move search to roots; Documents root; hide empty.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
klp-dev
* commit '0bf2ed90c42d3a1f1d4be4b70c337f9eaec9cd14':
Move search to roots; Documents root; hide empty.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Documents searches now happen root-wide, instead of only under a
subdirectory. Updates abstract class and flags to match. Add flag
for a root to indicate it's empty, and hide empty roots in UI unless
creating.
Define "Documents" public directory and storage backend to contain
files.
Bug: 10712057, 10710865, 10710758
Change-Id: I8716367568969f9cb1d83927b2bf5a7013809350
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
refs." into klp-dev
* commit 'c3414dc4baf2bb2c3ef5761912fea7f44d804ebc':
Handle pipe thumbnails, acquire unstable refs.
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '357f9e34ca4f0336e406044db35834530379db47':
Handle pipe thumbnails, acquire unstable refs.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Support decoding thumbnails delivered over pipes by wrapping in a
buffered stream. Also switch to using unstable provider references
to avoid crashing DocumentsUI.
Bug: 10516148, 10510851
Change-Id: I85f6eeaca70c97742bf79656d1d0c6da381fdd47
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
management." into klp-dev
* commit 'bd56a17df26a3c7f4e32ca3be08fbf28f625dffa':
More UX work for thumbnails, search, management.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
klp-dev
* commit 'af4d039fb3a45d4a74683a69ee48071b8338a13d':
More UX work for thumbnails, search, management.
|