Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c5527620 authored by Jared Duke's avatar Jared Duke
Browse files

Create ErrorProne lint rule for RoSystemFeatures usage

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
parent 5cbe4517
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment