Merge "Add log when resetting DeviceConfig" into main

This commit is contained in:
Treehugger Robot 2024-10-25 02:25:38 +00:00 • committed by Gerrit Code Review
commit bdeff0e8e6

View file

@ -89,6 +89,7 @@ class DeviceConfigRule @JvmOverloads constructor(
} cleanupStep {
runAsShell(WRITE_DEVICE_CONFIG) {
originalConfig.forEach { (key, value) ->
Log.i(TAG, "Resetting config \"${key.second}\" to \"$value\"")
DeviceConfig.setProperty(
key.first, key.second, value, false /* makeDefault */)
}