Merge "Add WRITE_DEVICE_CONFIG permission check to DeviceConfig API."