Specify not supported device name, serial to warning dialog.
In case of, Multiple device was connected,
One of not supported device makes warning dialog.
It cause confusing to user that all of device doesn't supported.
Specifying name, serial will reduce confusing.
Change-Id: I88924a6c517e889d476d1a7c2ee20bf345d974a5
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
Logger.debug("protocol version - " + devProtocol);
}
}
-
devices.add(devInfo);
bAdded = true;
}
else if (result.equals(new DAResult(ErrorCode.ERR_NOT_SUPPORTED))){
Logger.warning("Cannot found some components: " + result.getMessage());
+ result.setDetailMessage(devInfo.getIDevice().getDeviceName() + ", " +
+ devInfo.getIDevice().getSerialNumber());
UIAction.showWarning(result);
}
else {
Logger.warning("Cannot connect with swap manager : " + result.getMessage());
+ result.setDetailMessage(devInfo.getIDevice().getDeviceName() + ", " +
+ devInfo.getIDevice().getSerialNumber());
UIAction.showWarning(result);
}