summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/InputMethodManagerService.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2010-11-25 20:42:14 +0900
committersatok <satok@google.com>2010-11-25 20:42:14 +0900
commitb416a71e56cdd50742eb897366a140775aa4cd61 (patch)
treea986860409e620d739d8254460b31f63d5607400 /services/java/com/android/server/InputMethodManagerService.java
parent440aab54cab106030f1edafea4dec1f9d8624f9b (diff)
Fix build breakage
- Reverted unintenitionally removed function Change-Id: If083119e31c28b6f73d8ac85f2df4a8ab12dcb7f
Diffstat (limited to 'services/java/com/android/server/InputMethodManagerService.java')
-rw-r--r--services/java/com/android/server/InputMethodManagerService.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java
index 5859f4f8e493..c7bfdc82b73b 100644
--- a/services/java/com/android/server/InputMethodManagerService.java
+++ b/services/java/com/android/server/InputMethodManagerService.java
@@ -1298,6 +1298,18 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
}
}
+ public void showInputMethodAndSubtypeEnablerFromClient(
+ IInputMethodClient client, String topId) {
+ // TODO: Handle topId for setting the top position of the list ActivityManagerNative
+ synchronized (mMethodMap) {
+ if (mCurClient == null || client == null
+ || mCurClient.client.asBinder() != client.asBinder()) {
+ Slog.w(TAG, "Ignoring showInputMethodAndSubtypeEnablerFromClient of: " + client);
+ }
+ mHandler.sendEmptyMessage(MSG_SHOW_IM_SUBTYPE_ENABLER);
+ }
+ }
+
public boolean switchToLastInputMethod(IBinder token) {
synchronized (mMethodMap) {
Pair<String, String> lastIme = mSettings.getLastInputMethodAndSubtypeLocked();