core/java/android/provider/Column.java
0 → 100644
+50
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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