From: minkee.lee Date: Tue, 7 Oct 2014 05:23:23 +0000 (+0900) Subject: Sensor: Modified template file for sensor options. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bbdee05ca802744dc3a36cec513d94b4e827f6b5;p=sdk%2Femulator%2Femulator-manager.git Sensor: Modified template file for sensor options. - mobile: removed rotation vector sensor - wearable: same sensor supports as mobile profile Change-Id: Idb16ab4256cdfa2008cb0afaf125628a9c130b4f Signed-off-by: minkee.lee --- diff --git a/plugin-project/mobile-plugin/src/org/tizen/emulator/manager/mobile/vms/Launcher.java b/plugin-project/mobile-plugin/src/org/tizen/emulator/manager/mobile/vms/Launcher.java index 11c86c6..547751c 100644 --- a/plugin-project/mobile-plugin/src/org/tizen/emulator/manager/mobile/vms/Launcher.java +++ b/plugin-project/mobile-plugin/src/org/tizen/emulator/manager/mobile/vms/Launcher.java @@ -85,7 +85,6 @@ public class Launcher implements ILauncher { public static final String OPT_LIGHT = "light"; public static final String OPT_PROXI = "proxi"; public static final String OPT_HAPTIC = "haptic"; - public static final String OPT_ROTATION = "rot"; public static Launcher getInstance() { if (launcher == null) { @@ -298,8 +297,6 @@ public class Launcher implements ILauncher { cmd.add("-device"); cmd.add("maru-brightness"); - cmd.add("virtio-sensor-pci,sensors=accel&geo&gyro&light&proxi&haptic"); - // for vmodem cmd.add("-device"); cmd.add("virtio-vmodem-pci"); @@ -342,7 +339,7 @@ public class Launcher implements ILauncher { cmd.add("virtio-touchscreen-pci"); } - // for sensor (enabled accel, geo, gyro, light, haptic, rot) + // for sensor (accel, geo, gyro, light, proxi, haptic) OptionType sensor = property.getPropertyValue().getAdvancedOption(OPT_SENSOR); if (sensor != null) { cmd.add("-device"); diff --git a/plugin-project/wearable-plugin/src/org/tizen/emulator/manager/wearable/vms/Launcher.java b/plugin-project/wearable-plugin/src/org/tizen/emulator/manager/wearable/vms/Launcher.java index f27f3da..75a0aff 100644 --- a/plugin-project/wearable-plugin/src/org/tizen/emulator/manager/wearable/vms/Launcher.java +++ b/plugin-project/wearable-plugin/src/org/tizen/emulator/manager/wearable/vms/Launcher.java @@ -82,7 +82,6 @@ public class Launcher implements ILauncher { public static final String OPT_LIGHT = "light"; public static final String OPT_PROXI = "proxi"; public static final String OPT_HAPTIC = "haptic"; - public static final String OPT_ROTATION = "rot"; public static Launcher getInstance() { if (launcher == null) { @@ -303,17 +302,13 @@ public class Launcher implements ILauncher { cmd.add("maru-camera"); } - // for sensor - cmd.add("-device"); - cmd.add("virtio-sensor-pci,sensors=accel&geo&gyro&light&proxi&haptic"); - // for battery if (checkOnOff(property.getPropertyValue().getAdvancedOptionSubValue(OPT_DEVICE, OPT_BATTERY))) { cmd.add("-device"); cmd.add("virtio-power-pci"); } - // for sensor (enabled accel, geo, gyro, light, haptic, rot) + // for sensor (accel, geo, gyro, light, proxi, haptic) OptionType sensor = property.getPropertyValue().getAdvancedOption(OPT_SENSOR); if (sensor != null) { cmd.add("-device"); diff --git a/template/w-x86-standard-template.xml b/template/w-x86-standard-template.xml index 962519a..b586c2f 100644 --- a/template/w-x86-standard-template.xml +++ b/template/w-x86-standard-template.xml @@ -51,6 +51,10 @@ + + + + diff --git a/template/w-x86-standard.xml b/template/w-x86-standard.xml index b7cd520..429f2a5 100644 --- a/template/w-x86-standard.xml +++ b/template/w-x86-standard.xml @@ -33,9 +33,13 @@ - + diff --git a/template/x86-standard-template.xml b/template/x86-standard-template.xml index 289eec6..e2ff132 100644 --- a/template/x86-standard-template.xml +++ b/template/x86-standard-template.xml @@ -53,7 +53,6 @@ - diff --git a/template/x86-standard.xml b/template/x86-standard.xml index 9ba1c61..8dffd90 100644 --- a/template/x86-standard.xml +++ b/template/x86-standard.xml @@ -44,7 +44,6 @@ -