diff options
author | satok <satok@google.com> | 2010-10-27 14:11:03 +0900 |
---|---|---|
committer | satok <satok@google.com> | 2010-10-27 15:27:22 +0900 |
commit | 86417ea3f8041481a085823a1aa9f66d747231e8 (patch) | |
tree | c23ac8b262f564425119c505e31d42ed7e83414a /services | |
parent | c7415b7800d80bcac140da7a635cc05e09724bfb (diff) | |
download | frameworks_base-86417ea3f8041481a085823a1aa9f66d747231e8.zip frameworks_base-86417ea3f8041481a085823a1aa9f66d747231e8.tar.gz frameworks_base-86417ea3f8041481a085823a1aa9f66d747231e8.tar.bz2 |
Remove InputMethodAndSubtypeEnabler and call intent of Settings.ACTION_INPUT_METHOD_AND_SUBTYPE_ENABLER
Change-Id: I467cfba9644ec266f6a98f7aec0886ad205fef4f
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/InputMethodManagerService.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index 70bde01..3f378e1 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -25,7 +25,6 @@ import com.android.internal.view.IInputMethodClient; import com.android.internal.view.IInputMethodManager; import com.android.internal.view.IInputMethodSession; import com.android.internal.view.InputBindResult; -import com.android.internal.view.InputMethodAndSubtypeEnabler; import com.android.server.StatusBarManagerService; @@ -1549,10 +1548,10 @@ public class InputMethodManagerService extends IInputMethodManager.Stub } private void showInputMethodAndSubtypeEnabler() { - Intent intent = new Intent(); - intent.setClassName("android", InputMethodAndSubtypeEnabler.class.getCanonicalName()); + Intent intent = new Intent(Settings.ACTION_INPUT_METHOD_AND_SUBTYPE_ENABLER); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK - | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); + | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED + | Intent.FLAG_ACTIVITY_CLEAR_TOP); mContext.startActivity(intent); } |