From aa0458f917bb823efab6245f08c65e8f2f7327ac Mon Sep 17 00:00:00 2001
From: Ken Wakasa <kwakasa@google.com>
Date: Wed, 26 Jan 2011 02:56:09 +0900
Subject: [PATCH] Fix Input options dialog

bug: 3387860
Change-Id: I81e57ca08e07e4c2a68196ca173b764c40fbeb17
---
 java/src/com/android/inputmethod/latin/LatinIME.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index d90137d951..78674b4e43 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -2224,9 +2224,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
                 di.dismiss();
                 switch (position) {
                 case 0:
-                    launchSettings();
-                    break;
-                case 1:
                     Intent intent = new Intent(
                             android.provider.Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS);
                     intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
@@ -2236,6 +2233,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
                             mInputMethodId);
                     startActivity(intent);
                     break;
+                case 1:
+                    launchSettings();
+                    break;
                 }
             }
         };
-- 
GitLab