summaryrefslogtreecommitdiff
path: root/core/java/android/provider/Column.java
Commit message (Collapse)AuthorAgeFilesLines
* Move MediaStore.java inside APEX boundary.Jeff Sharkey2019-12-191-50/+0
| | | | | | | | | | | | | | | | | | | | Recent work has paved the way to get MediaStore.java building against "core_platform", and this change is actually shifting MediaStore.java inside the MediaProvider APEX boundary. This involves defining a new "updatable-mediaprovider" library JAR and ensuring that it's spliced into classpaths where needed to keep everything building and working. Note that the MediaProvider APK itself is still bundled, so we're manually including the MediaStore.java when building that APK so that we can continue referencing @hide symbols, but there's a STOPSHIP comment to remove that once we get the APK building against "system_current". Bug: 144247087 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: I27ed3fde40751d9ac136a31710c62004b1b8962f
* Annotation for ContentProvider columns.Jeff Sharkey2019-02-151-0/+50
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