diff options
author | Siva Velusamy <vsiva@google.com> | 2012-12-10 16:39:38 -0800 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-12-10 16:39:39 -0800 |
commit | a73442969f02619a27805957464a9006d9fb6080 (patch) | |
tree | 0429b0e318e6b0e3da1ee4fabf39592d2593d9ff | |
parent | 4b2d3a5c5748f042f1f1ca1da05ac16b8f39f7ec (diff) | |
parent | 7518961a0b5376e83d74da461dfc333ad92cc3a1 (diff) | |
download | sdk-a73442969f02619a27805957464a9006d9fb6080.zip sdk-a73442969f02619a27805957464a9006d9fb6080.tar.gz sdk-a73442969f02619a27805957464a9006d9fb6080.tar.bz2 |
Merge "AVD edit dialog: Fix equality comparison."
-rw-r--r-- | sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdCreationDialog.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdCreationDialog.java b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdCreationDialog.java index b89841f..89aa8ce 100644 --- a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdCreationDialog.java +++ b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdCreationDialog.java @@ -1177,9 +1177,11 @@ public class AvdCreationDialog extends GridDialog { } mKeyboard.setSelection( - props.get(HardwareProperties.HW_KEYBOARD) == HardwareProperties.BOOLEAN_YES); + HardwareProperties.BOOLEAN_YES.equalsIgnoreCase( + props.get(HardwareProperties.HW_KEYBOARD))); mSkin.setSelection( - props.get(AvdManager.AVD_INI_SKIN_DYNAMIC) == HardwareProperties.BOOLEAN_YES); + HardwareProperties.BOOLEAN_YES.equalsIgnoreCase( + props.get(AvdManager.AVD_INI_SKIN_DYNAMIC))); String cameraFront = props.get(AvdManager.AVD_INI_CAMERA_FRONT); if (cameraFront != null) { |