diff options
| author | 2011-07-11 22:12:59 -0700 | |
|---|---|---|
| committer | 2011-07-11 22:12:59 -0700 | |
| commit | 6df76aa9f12b8c12dcf0c11d7bd03df66dae112e (patch) | |
| tree | 6f14f2484bb59386a5159bc326ba31577cd0a6d7 | |
| parent | e230189444f9baa2f443193030c31a16016d760c (diff) | |
| parent | 683e2383c8549f95e00bade15daed3dbddf13950 (diff) | |
Merge "Change IME picker dialog from Activity to Broadcast"
| -rw-r--r-- | services/java/com/android/server/InputMethodManagerService.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index 2d55433d9cd0..18d393fde2f7 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -531,10 +531,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub mImeSwitcherNotification.sound = null; mImeSwitcherNotification.vibrate = null; Intent intent = new Intent(Settings.ACTION_SHOW_INPUT_METHOD_PICKER); - intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK - | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED - | Intent.FLAG_ACTIVITY_CLEAR_TOP); - mImeSwitchPendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); + mImeSwitchPendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); mShowOngoingImeSwitcherForPhones = mRes.getBoolean( com.android.internal.R.bool.show_ongoing_ime_switcher); |