summaryrefslogtreecommitdiff
path: root/core/java/android/annotation/RequiresFeature.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove annotations that have been relocatedChris Wailes2021-04-261-52/+0
| | | | | | | | | These annotations have been relocated to frameworks/libs/modules-utils. This CL removes the files and updates necessary build rules. Bug: 183133670 Test: m Change-Id: I834b9f5320e0b6fe8cb9feb7194c82085b805e07
* Add enforcement parameter to RequiresFeatureDaniel Bright2020-11-191-3/+10
| | | | | | | | | | * Allows for a broader range of enforcement checks * Designed to match androix so that it can be easily slotted into Android Studio lint checks Test: Built Bug: 173735303 Change-Id: Ia4cc8be8fdccbdeeecee956e4ccf02bda6d91845
* Add RequiresFeature annotation.Jeff Sharkey2018-02-161-0/+45
Certain APIs require that a device have a specific feature to operate correctly, so start annotating them. Test: builds, boots Bug: 72284763 Change-Id: Ie2f30284bdfdb6acc4067f434eba3b5433837606 Exempt-From-Owner-Approval: simple annotations