Add log when resetting DeviceConfig
The log should help investigate flakes, by knowing at which point DeviceConfig is being reset and to which value. Test: atest Change-Id: Ia7392ad57d3df17b0d5194158b402f52bc90f7e3
This commit is contained in:
parent
c9bb9e390c
commit
001be79f0f
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue