summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add soft config type for user-persistent settingsHEADu14.0t13.0s12.1Danny Lin2022-03-242-4/+14
| | | | | | | | | | | | | 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. Change-Id: I2c88fc34d2609c1953b385abc6c151207779009a
* Don't make config values defaultDanny Lin2022-03-241-1/+1
| | | | | | | | 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. Change-Id: I8162488efde71b45ece9594fad571d601a737456
* Export boot receiver explicitlyDanny Lin2021-10-051-1/+2
| | | | Android 12 requires explicit exports.
* SimpleDeviceConfig: Allow setting empty valuesr11.1Danny Lin2020-12-121-5/+9
| | | | Some keys are meant to be set to an empty string.
* SimpleDeviceConfig: Separate base and device configsDanny Lin2020-12-122-4/+10
| | | | | | 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.
* SimpleDeviceConfig: Fix copyright yearDanny Lin2020-12-121-1/+1
|
* SimpleDeviceConfig: Install to system_extDanny Lin2020-11-061-0/+1
| | | | This isn't a core or essential system component.
* SimpleDeviceConfig: Add initial implementationDanny Lin2020-11-065-0/+152
| | | | | | | | | | | | | | 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.
* Initial commitDanny Lin2020-11-060-0/+0