summaryrefslogtreecommitdiff
path: root/core/java/android/provider/BaseColumns.java
Commit message (Collapse)AuthorAgeFilesLines
* Update Column value types for BaseColumn.Varun Shah2020-12-231-0/+4
| | | | | | Fixes: 174343753 Test: n/a Change-Id: I00b002096c14e5841d9b759fe27465eeef104866
* Shuffling to prepare for MediaProvider APEX.Jeff Sharkey2019-12-181-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | An upcoming change will move MediaStore to be within the recently created MediaProvider APEX. This means that MediaStore will need to be fully built against @SystemApi, and so this CL adjusts APIs to support a clean transition: -- Listing of "recent" storage volumes and scan paths for "internal" storage is now handled by StorageManager directly, so that partners retain control over what is deemed recent. -- StorageVolume now returns the MediaStore volume name and the filesystem directory where its contents are presented to apps. -- Conversion of legacy thumbnail "kind" values to dimensions now happens directly inside MediaStore. -- PendingParams and PendingSession are completely removed. -- Contributed media APIs are completely removed. -- Media for demo users is now surfaced as a unique StorageVolume. -- Migrate most MediaStore APIs to accept ContentResolver, which supports easy usage of ContentResolver.wrap(). Bug: 144247087, 137890034 Test: atest --test-mapping packages/providers/MediaProvider Exempt-From-Owner-Approval: in-place refactoring Change-Id: I445528b2779bb37b9f2558e67a3cfc9f60412092
* Annotation for ContentProvider columns.Jeff Sharkey2019-02-151-4/+5
| | | | | | | | | | | | | | | | | | | | | We have various "contract" classes across the OS which describe the columns that are available for insert(), update(), and query() when working with ContentProviders. To help ensure that the underlying providers fully support the API contracts being made, this change defines a new "@Column" annotation which describes the underlying data type. These annotations can then be used by the ContentProvider implementations internally to ensure that they're fully meeting the API contracts being made. A future change will also wire up these annotations to be automatically documented by doclava. Bug: 120429729 Test: manual Change-Id: Ie3d97937500cec05396c809ba2ea2e62d1b737fd
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+32
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-32/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+32