Adding DeviceUtils.java