From: minkee.lee Date: Thu, 14 May 2015 08:27:06 +0000 (+0900) Subject: Launch config: Added null checking in CPU option. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=987bf5e9b936a6fca42481e5bf10d07fdbb6e779;p=sdk%2Femulator%2Femulator-manager.git Launch config: Added null checking in CPU option. Change-Id: I813b4ccf084a970324ae9e8649309b718cd76bbc Signed-off-by: minkee.lee --- diff --git a/src/org/tizen/emulator/manager/vms/option/HWSupportOption.java b/src/org/tizen/emulator/manager/vms/option/HWSupportOption.java index 569c0be..8bbf593 100644 --- a/src/org/tizen/emulator/manager/vms/option/HWSupportOption.java +++ b/src/org/tizen/emulator/manager/vms/option/HWSupportOption.java @@ -50,7 +50,9 @@ public class HWSupportOption extends Option { hwVirtualization = CheckVirtualization.getInstance() .getVirtualizationDisableCommnad(); } - config.addQemuOption(hwVirtualization); + if (hwVirtualization != null) { + config.addQemuOption(hwVirtualization); + } // Set GPU option if (property.getConfiguration().getUsability().isHwGLAcceleration()