When picking documents to return to apps requesting CATEGORY_OPENABLE
we can't let the user select directories.
Bug: 25455200
Change-Id: I8076883ee5b019eab4d2adb841952865f21e413e
Otherwise there is a really rare race condition where we try tearing
down the tasks while we're still setting them up.
Bug: 25078914
Change-Id: Icf89241f9abec3fadc8606cfb4fbc029bbe91515
If the CPU goes to sleep during the copy, certain devices will
collapse the USB OTG power domain, which can cause user data loss.
Bug: 24574575
Change-Id: I8e26caac8784490d2dee324b38e6085cd55eb8bb
Since it's a private Parcelable class, we can't send it to other
third-party apps, since they won't know how to unpack it.
Bug: 22255387
Change-Id: Ie2ea6cf72b733bd122eb3581a5df295cec608425
Various fragments need backgrounds to protect their contents during
animation transitions.
Bug: 22232368
Change-Id: I4ce4c57650f9b64b3c6101d829dd484417585410
... the storage list view
1. Change to ExternalStorageProvider
When available volumes have changed, it now notifies on
"content://com.android.externalstorage.documents" rather than on
"content://com.android.externalstorage.documents/root/", because it'll also
affect "content://com.android.externalstorage.documents/document/*/children".
2. Change to DocumentUI
- DirectoryLoader now won't crash when a provider returns null.
- DirectoryFragment now closes itself (i.e. emulate a back press) when a load
failed.
- It now correctly reloads contents when a volume is ejected thanks to 1.
Bug 21472170
Change-Id: Icf4bbc2ebb9067313dbbb67083cd4115b0a75c58
reading the wrong title.
We get a title from DocumentProvider with an async task, and by the time we
get it, it's *usually* too late and talkback end up reading the default title.
Bug 20041072
Change-Id: I7686fe4ae4c157ebfc07bd8b895c4cfdf99c057a
Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.
Though wise men at their end know dark is right,
Because their words had forked no lightning they
Do not go gentle into that good night.
Bug: 21854466
Change-Id: I0b7cd116c23f7df88e94f31b3aee7dd22a102804
If we're browsing a specific root, and that root went away, typically
due to formatting.
Bug: 21831184
Change-Id: Ie07607a81e32a7d82c88ad382658a471d47b905d
Keep the hamburger menu though if the drawer is visible and unlocked.
TEST=Tested manually on both tablet and phone form factors.
BUG=18685509
Change-Id: Ie6f8d7064da99d2dc34315ccb92ab4db6ee321b6
Previously we hid the stack dropdown list just before the action bar is
collapsed. Then the dropdown list gets back to be visible when the action bar is
collapsed.
The CL updates visibility of the stack dropdown list just after the action bar
is collapsed.
BUG=20945584
Change-Id: Iaf5055bce101f8134accd311829e50f441ddc98b
- Add DocumentsContract.EXTRA_EXCLUDE_SELF (boolean extra)
- Add code to DocumentsActivity to cache the providers of the calling
app if EXTRA_EXCLUDE_SELF is set on incoming Intents.
- Add code to RootsCache to exclude roots from the calling app.
- Add code to allow only system apps to use EXTRA_PACKAGE_NAME.
Change-Id: Ia7cc2a1a297676c7b26f6e583042a4607d8c9a4e