diff options
| author | 2024-12-21 00:51:47 +0000 | |
|---|---|---|
| committer | 2024-12-30 22:55:55 +0000 | |
| commit | c552762088158da0c0f4d6d0dcd896d14293e79f (patch) | |
| tree | 5c0adcb1979adce150e1fb639e974cbc34fb704b /libs/androidfw/AssetManager.cpp | |
| parent | 5cbe45176e54d008b43f7ed35ecb70f677be57cd (diff) | |
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
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions