diff options
author | satok <satok@google.com> | 2010-11-20 15:46:23 +0900 |
---|---|---|
committer | satok <satok@google.com> | 2010-11-25 14:02:04 +0900 |
commit | cd7cd2969f545ad061a9b4ecd0044f15eb1b4abb (patch) | |
tree | a0fe4e4099c4aa9ab97ef4dc764e93341e2cfd7e /core | |
parent | d1544d38a2a281c4c7d39b6386cfb58ff2fabe20 (diff) | |
download | frameworks_base-cd7cd2969f545ad061a9b4ecd0044f15eb1b4abb.zip frameworks_base-cd7cd2969f545ad061a9b4ecd0044f15eb1b4abb.tar.gz frameworks_base-cd7cd2969f545ad061a9b4ecd0044f15eb1b4abb.tar.bz2 |
Store the current IME's token in the system bar for changing the current IME to a shortcut IME from the system bar
Bug: 3212206
Bug: 3201828
- Added a shortcut IME button. This will be used for calling a shortcut IME (e.g. Voice input)
- Made the positions of IME buttons left aligned
- IME token is required to change IME because of the security reasons.
Change-Id: I48ba5e2509b3aa1bfd2394f9201427fa6b93c6d3
Diffstat (limited to 'core')
-rw-r--r-- | core/java/com/android/internal/statusbar/IStatusBar.aidl | 2 | ||||
-rw-r--r-- | core/java/com/android/internal/statusbar/IStatusBarService.aidl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/java/com/android/internal/statusbar/IStatusBar.aidl b/core/java/com/android/internal/statusbar/IStatusBar.aidl index f87ca3e..1cc068f 100644 --- a/core/java/com/android/internal/statusbar/IStatusBar.aidl +++ b/core/java/com/android/internal/statusbar/IStatusBar.aidl @@ -32,6 +32,6 @@ oneway interface IStatusBar void animateCollapse(); void setLightsOn(boolean on); void setMenuKeyVisible(boolean visible); - void setIMEButtonVisible(boolean visible); + void setIMEButtonVisible(in IBinder token, boolean visible); } diff --git a/core/java/com/android/internal/statusbar/IStatusBarService.aidl b/core/java/com/android/internal/statusbar/IStatusBarService.aidl index 19666fd..f86b72d 100644 --- a/core/java/com/android/internal/statusbar/IStatusBarService.aidl +++ b/core/java/com/android/internal/statusbar/IStatusBarService.aidl @@ -32,13 +32,13 @@ interface IStatusBarService void removeIcon(String slot); void setActiveWindowIsFullscreen(boolean fullscreen); void setMenuKeyVisible(boolean visible); - void setIMEButtonVisible(boolean visible); + void setIMEButtonVisible(in IBinder token, boolean visible); // ---- Methods below are for use by the status bar policy services ---- // You need the STATUS_BAR_SERVICE permission void registerStatusBar(IStatusBar callbacks, out StatusBarIconList iconList, out List<IBinder> notificationKeys, out List<StatusBarNotification> notifications, - out int[] switches); + out int[] switches, out List<IBinder> binders); void onPanelRevealed(); void onNotificationClick(String pkg, String tag, int id); void onNotificationError(String pkg, String tag, int id, |