The Config Infrastructure module contains the infrastructure
code that enables the platform and modules to use feature flags.
This code currently exists in frameworks/base
. No new features are planned for
Android 14.
Motivation
- Quicker iteration of the infrastructure code. Platform and Mainline module developers benefit from better and more functionality sooner.
- A uniform solution for feature flag functionality.
- New features can reach more devices. For example, work done in the Android 15 timeframe can be applied to 14 devices even before OTAs.
Module boundary
For Android 14, we're moving
frameworks/base/core/java/android/provider/DeviceConfig.java
(and closely
related classes) to this module. We also plan to move configuration persistence
logic to this module.
Package format
The Config Infrastructure module is in APEX format.
Dependencies
None.
Customize
You can't customize this module.