Post-O: skeleton for product configuration support in CarInfoManager
- This is working as an example of adding a feature under flag.
- Have its own boolean flag under FeatureConfiguration
- car lib part is only annotated with @FutureFeature. can add
proguard rule to strip it when feature is not enabled.
- All feature related code uses if (feature_enabled) style code.
Code under if (false) can be dropped by proguard if necessary.
- FeatureUtil.assertFeature() throws exception if feature is not enabled.
- TODO: plumb it down to HAL layer when HAL is ready.
add test
bug: 34778252
Test: build only for now
Change-Id: I31b8076c7bd35719a1cfc8074712f5211dcd7dec
7 files changed