Merge "Add DeviceConfig.setProperties method for atomic writing."