diff options
author | Jason Monk <jmonk@google.com> | 2014-05-02 12:31:45 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2014-05-02 14:37:40 -0400 |
commit | e463c745ef6901121837e88ca8597d062843b9dd (patch) | |
tree | 08cbf2de2194c81920d96cf08708221280f22e78 /services/core/java/com/android/server/InputMethodManagerService.java | |
parent | f1ff209523a2474cb0e7aab0e083596c4afbe37f (diff) | |
download | frameworks_base-e463c745ef6901121837e88ca8597d062843b9dd.zip frameworks_base-e463c745ef6901121837e88ca8597d062843b9dd.tar.gz frameworks_base-e463c745ef6901121837e88ca8597d062843b9dd.tar.bz2 |
Don't show IME Switcher not. if nav bar exists
Since the navigation bar now has IME switcher icon no need for a
notification about it when it is present.
Bug: 14257632
Change-Id: I5511fee0dee45475d5b7949f63696b1d29acf9cc
Diffstat (limited to 'services/core/java/com/android/server/InputMethodManagerService.java')
-rw-r--r-- | services/core/java/com/android/server/InputMethodManagerService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/InputMethodManagerService.java b/services/core/java/com/android/server/InputMethodManagerService.java index 6fc3e77..7ed1cc7 100644 --- a/services/core/java/com/android/server/InputMethodManagerService.java +++ b/services/core/java/com/android/server/InputMethodManagerService.java @@ -1548,7 +1548,8 @@ public class InputMethodManagerService extends IInputMethodManager.Stub mImeSwitcherNotification.setLatestEventInfo( mContext, title, summary, mImeSwitchPendingIntent); - if (mNotificationManager != null) { + if ((mNotificationManager != null) + && !mWindowManagerService.hasNavigationBar()) { if (DEBUG) { Slog.d(TAG, "--- show notification: label = " + summary); } |