+105
−3
+119
−0
+123
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Create a basic ErrorProne rule that can be used for linting and in-place updates of calls to system feature queries. A similar Android Lint rule will be used after work that would enable in-place updates for both Java/Kotlin sources, but for now an ErrorProne rule handles most of the impactful callsites. A follow-up change will add this lint rule to system_server targets after performing a batch migration update. Bug: 203143243 Test: atest systemfeatures-errorprone-tests Flag: build.RELEASE_USE_SYSTEM_FEATURE_BUILD_FLAGS Change-Id: I8a75edd3ef282a8f35e5d9555ecf3cf849fd3de0