summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-22Add soft config type for user-persistent settingsHEADuminekotachibana-mr1tachibanasugisawa-mr1Danny Lin
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.
2022-03-08Don't make config values defaultDanny Lin
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.
2021-10-05Export boot receiver explicitlysugisawaDanny Lin
Android 12 requires explicit exports.
2020-12-12SimpleDeviceConfig: Allow setting empty valuesDanny Lin
Some keys are meant to be set to an empty string.
2020-12-12SimpleDeviceConfig: Separate base and device configsDanny Lin
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.
2020-12-12SimpleDeviceConfig: Fix copyright yearDanny Lin
2020-11-06SimpleDeviceConfig: Install to system_extDanny Lin
This isn't a core or essential system component.
2020-11-06SimpleDeviceConfig: Add initial implementationDanny Lin
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.
2020-11-06Initial commitDanny Lin