Age | Commit message (Collapse) | Author |
|
Some device configs, such as the location indicator flag, can easily be
reused for user-facing settings rather than adding a new setting and
hook it up.
To accommodate such cases, add a new "soft" config type where configs
are only set on boot if they don't already have a value. This allows
provisioning an initial value while allowing user choices to persist
after that.
|
|
We have no specific need for making our configs default, as we already
set them on every boot. Doing so could potentially hinder RescueParty's
ability to recover from broken device configs.
|
|
Android 12 requires explicit exports.
|
|
Some keys are meant to be set to an empty string.
|
|
Some devices may want to add device-specific DeviceConfig values
overlayed in the device tree while retaining the base system configs
provided by the ROM.
|
|
|
|
This isn't a core or essential system component.
|
|
This is a simple app that provisions the DeviceConfig settings namespace
on boot with values defined in a resource overlay. It is meant to be
delegated as the device configurator in the framework config
(config_deviceConfiguratorPackageName) to make sure it receives the
correct permissions.
This can be useful for e.g. configuring proprietary Google services
without delegating GMS as the device configurator to prevent it from
overriding custom default settings, or minimizing changes to core
framework code by making changes in DeviceConfig instead as intended by
Google.
|
|
|