GPU-option: Fixed GPU on/off option.
authorminkee.lee <minkee.lee@samsung.com>
Fri, 17 Jul 2015 02:39:48 +0000 (11:39 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 17 Jul 2015 06:13:19 +0000 (15:13 +0900)
- If GPU acceleration is not available, value is 'false'.

Change-Id: Ib008d173692c279852a95a8ee5d84f7795c9ed2a
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
src/org/tizen/emulator/manager/ui/detail/item/property/GPUSupportSubViewItem.java

index b570c76..9842905 100644 (file)
@@ -114,6 +114,7 @@ public class GPUSupportSubViewItem extends OnOffSubViewItem {
                oldValue = newValue = value.isGLAcceleration;
 
                if (!CheckGPU.isGPUSupported() || isArm) {
+                       newValue = false;
                        onOffButton.setEnabled(false);
                        buttonLabel.setText(StringResources.DISABLED);
                        buttonLabel.setToolTipText(GPUDisableToolTipText);