Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Config Infrastructure
Stay organized with collections
Save and categorize content based on your preferences.
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.
The Config Infrastructure module is in
APEX format.
Dependencies
None.
Customize
You can't customize this module.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-05 UTC."],[],[]]