| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: If7eac9a9fa7e145c9d35ece91a8ccab33601a1ca
Ticket: -
|
|
|
|
|
|
|
|
|
| |
https://android.googlesource.com/platform/frameworks/base into cm-13.0"
This reverts commit 0e1dbed9194839a90755670d8fdf9046a75b85f7, reversing
changes made to 564f10b8f05ddf4d9ea2c0e64f1b113fe6dad4b8.
Change-Id: Ife3a8c9c898034d5161fbf25a03eaf173ec66246
|
|
|
|
| |
Change-Id: Ib87e41106982b159d249ebbe0653e569f9c7b454
|
|
|
|
| |
Change-Id: I3849e73aee18720b20529d406c7657c0a0cee320
|
|
|
|
|
|
|
|
| |
By forcing ExternalStorageProvider to use the sdcard FUSE layer for access,
ext4/f2fs sdcards will be treated with the correct media_rw:media_rw
permissions instead of the current app permissions.
Change-Id: I2cbb97727ebe5af88a879490732925406a165af5
|
|
|
|
| |
Change-Id: Ib371d8f862dced4aa36cfe076f876e9ae4bd62c2
|
|
|
|
| |
Change-Id: I4af2a6a904e9229b261e95818f716d6b5708a6f4
|
|\
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into cm-13.0
Android 6.0.1 release 22
Change-Id: I0d31899b234156a91accb61e0a7fb3d8d16d5062
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
into mnc-dr-dev
* commit '588430591b7bb5340ff02f05f1c02eaf924326ad':
Clean stale entries when deleting files.
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* commit 'e69ff2a878ee7635a467259995e2924fb96a3a72':
Clean stale entries when deleting files.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
paths." into mnc-dev
* commit 'e7477002683a83ce3022365fe6c327bbc31055cc':
Handle volumes without visible paths.
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
mnc-dev
* commit '0eaadbc2a9b7350ba839ad14590c34235e42e28b':
Handle volumes without visible paths.
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
details, take user to... ... the storage list view" into mnc-dev
* commit '650a193e8b1610938954851e6d855338b44e239d':
If user ejects a storage from details, take user to... ... the storage list view
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'a65a1582f5a04b15b53ebdec337ac611ccb78a07':
Update file size formatting.
|
| |_|_|_|/
|/| | | |
| | | | |
| | | | | |
Change-Id: I96f3c5a41d3c52473c161aaf2c97d821caa99bb9
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When deleting files directly from external storage devices, remove
any matching entries from MediaStore so we don't end up showing
stale entries to clients, such as MTP/PTP.
Also handles the case where an entire directory is deleted.
Bug: 24045921
Change-Id: I802470fa1aa03e0bec147ea113f1a49e26a0f3f9
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | | |
Change-Id: Iccdea720e2b636f99e014f195772bff4a0afc149
Auto-generated-cl: translation import
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Transient volumes like USB drives are not mounted as visible, so we
shouldn't be kicking off media scanner for them.
Bug: 22545248
Change-Id: Ic8f2d3134f1edb8b2a12e8ff283eceeeb230f48b
|
| |_|/
|/| |
| | |
| | |
| | | |
Change-Id: I2960b24e8ab390425898ac33034b24ceae260a65
Auto-generated-cl: translation import
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... 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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Per UX, default strings should have space between value and units
resulting in "12.3 GB". Add a formatting variant that returns the
various components for callers who want to build their own strings.
For now there is only one mounted emulated volume at a time, and
it's always the primary storage, so give it the default rootId to
keep old Uris working.
Change-Id: Ifcc72a91a6b397ee65dc92642153286186eb64ac
|
|/
|
|
|
| |
Change-Id: I6c36a192af260cddb4e659825037b5727a9c8fcd
Auto-generated-cl: translation import
|
|
|
|
|
|
|
|
|
|
| |
Move code for checking file extensions and MIME types from
ExternalStorageProvider into android.os.FileUtils, so it can be used by
other clients (e.g. DownloadsProvider).
BUG=20157955
Change-Id: Ib16a16af723c21fb8d2912c8917dfd68653ea6fa
|
|
|
|
|
| |
Change-Id: Ib1c155c8eedd0773a5d973813665792e749dd458
Auto-generated-cl: translation import
|
|
|
|
|
|
|
|
|
|
|
| |
Send limited broadcast intent when certain volume state changes
occur; the only customer for now is ExternalStorageProvider.
Change notification flow to be less bumpy. Pick USB icon based on
disk type, and avoid using "generic" disk labels.
Bug: 19993667
Change-Id: I263bc9e9aae2ae57eb4d1afe76da686aee5475fb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds logic to ExternalStorageProvider to scan non-visible volumes,
such as USB OTG devices. We use internal paths when surfacing these
volumes, which also optimizes around the FUSE daemon for public
devices. Also dumps internal state when requested.
VolumeInfo now directly contains DiskInfo, which means it's
snapshotted when sending events, avoiding teardown races. Switch
notifications to use this DiskInfo directly.
Finish wiring up new volume state, including helper methods to make
it readable/writable state clearer. Handle disks and volumes with
spaces in their labels.
Bug: 19993667
Change-Id: I5c75e5658a6415976811477aebafee7694bde0f4
|
|
|
|
|
|
|
|
|
|
| |
Roots use a flag to indicate they have settings, and DocumentsUI
offers to launch towards someone who handles a new Settings intent.
Slight rename of browse intent for clarity.
Bug: 19993667
Change-Id: I86302ec1cfac5e435d8bc5701bdb85fb9b0dcbae
|
|
|
|
|
| |
Change-Id: I5d8cc25c94f71a9f3f14307fbb2f09e0779f4d6e
Auto-generated-cl: translation import
|
|\
| |
| |
| |
| |
| |
| | |
extensions intact." into lmp-mr1-dev
* commit '45207128c5c4f0d1f106af8561bdd156546b0aad':
Sanitize display names, keep extensions intact.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When creating or renaming files on external storage, sanitize the
requested display names to be valid FAT filenames. This also fixes
a handful of directory traversal bugs.
Also relax logic around generating display names to allow any
extension which maps to the requested MIME type. Tests to verify.
Bug: 18512473, 18504132
Change-Id: I89e632019ee145f53d9d9d2050932f8939a756af
|
|\ \
| |/
| |
| |
| |
| |
| | |
label." into lmp-mr1-dev automerge: cc66a23
* commit '1b632db2074365a7094177f655a4f750807f61f0':
Use default volume description when missing label.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Some mounted storage volumes may not have a user-defined label. In
those cases, use the default description for the volume.
Bug: 17781505
Change-Id: I8558ba2615c2ff2647a5d44afaec83249df466ab
|
| |
| |
| |
| |
| | |
Change-Id: I1e4ac2d534b14eac10dd3169981dd6ad668aeaee
Auto-generated-cl: translation import
|
|/
|
|
|
| |
Change-Id: I0c6e80b85a255f32a7298c1caf4cde9b41cb8732
Auto-generated-cl: translation import
|
|
|
|
|
|
|
| |
Kicks off media scanner after files are written.
Bug: 13557203
Change-Id: I61613f28e07b068573079cc1e362fd3fe135684e
|
|
|
|
| |
Change-Id: Iac5489639edae2373ed0ce92f7d0fe22629a249a
|
|
|
|
|
| |
Change-Id: Id3da3bdc18533f885bd34e4afa40c6479a6a0413
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: Ia29fa1cb6cdd0135a0120ca2f5c2e14432a4b158
Auto-generated-cl: translation import
|
|
|
|
|
|
|
|
|
| |
Cleans up API so it consistently refers to opening or working with a
subtree of documents. Also separates isChildDocument() support from
the concept of directory tree selection.
Bug: 15429194
Change-Id: Ice66a751ff4bd0cc4d34c44c5da13a0dc4186dc9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
DocumentsProviders can mark documents as supporting rename, and they
have the opportunity to change the DOCUMENT_ID as a side effect of
the rename. This supports providers that embed the display name
into DOCUMENT_ID. Issues a URI permission grant to the new document,
if any.
Adds renaming support to platform ExternalStorageProvider. Also
adds directory deletion support.
Bug: 12350110
Change-Id: Ica4b1ae6769ee994f70f6b6b2402213eebd064e0
|
|/
|
|
|
| |
Change-Id: Icef6a475d648a2970d5918e9ab7abe98cf676117
Auto-generated-cl: translation import
|
|\
| |
| |
| |
| | |
* commit '21de56a94668e0fda1b8bb4ee4f99a09b40d28fd':
Add directory selection to DocumentsProvider.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce new ACTION_PICK_DIRECTORY that allows users to grant access
to an entire document subtree. Instead of requiring grants for each
individual document, this leverages new prefix URI permission grants
by defining new "via"-style URIs:
content://com.example/via/12/document/24/
This references document 24 by using a prefix grant given for
document 12. Internally, we use isChildDocument() to enforce that
24 is actually a descendant (child, grandchild, etc) of 12. Since
this is an optional API, providers indicate support with
Root.FLAG_SUPPORTS_DIR_SELECTION.
Extend DocumentsUI to support picking directories. Expose
createDocument() API to work with returned directories.
Offer to canonicalize via-style URIs into direct URIs, generating
exact permission grants along the way. Override openAssetFile()
to pass through CancellationSignal. Move testing code into ApiDemos.
Bug: 10607375
Change-Id: Ifffc1cff878870f8152eb6ca0199c5d014b9cb07
|
|/
|
|
|
| |
Change-Id: Ic7a9bdd8f8da2462638e3abf361ef938d1fb2a9e
Auto-generated-cl: translation import
|
|
|
|
|
| |
Bug:11340849
Change-Id: Ib99486303927a6bce308b113d70f8e5b5bce4a13
|
|\
| |
| |
| |
| |
| |
| | |
to secondary devices." into klp-dev
* commit '874dfd733a2fd2224f155ee2c4cf5e3065676402':
Give storage provider access to secondary devices.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
devices." into klp-dev
* commit '34163e8259db8661afbb267e3b899b64f429bcb7':
Give storage provider access to secondary devices.
|
| | |
| | |
| | |
| | |
| | | |
Bug: 11411460
Change-Id: I3827ed5b859a68c60742a27917459e8df2c276bb
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
columns." into klp-dev
* commit '66d079bf25ff3f99dbba91e02d392c936238170b':
Guard against missing document columns.
|