import org.tizen.sdblib.exception.SdbCommandRejectedException;
import org.tizen.sdblib.exception.TimeoutException;
import org.tizen.sdblib.service.SyncResult;
+import org.tizen.sdblib.util.DeviceUtil;
@SuppressWarnings("restriction")
public class PlatformLaunchUtils {
public boolean installPkgsToDevice(List<LocalPackage> packages, IPkgCommander.TOOL type,
IProgressMonitor monitor) throws InterruptedException {
- if (!target.getDevice().isOnline()) {
+ if (!DeviceUtil.isOnline(target.getDevice())) {
newException(TizenLaunchMessages.CANNOT_CONNECT_TO_DEVICE);
} else if (!target.getDevice().isRoot()) {
newException(PlatformLaunchMessages.DEVICE_IS_NOT_ROOT_ON);