Fix build breakage
- Reverted unintenitionally removed function
Change-Id: If083119e31c28b6f73d8ac85f2df4a8ab12dcb7f
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java
index 5859f4f..c7bfdc8 100644
--- a/services/java/com/android/server/InputMethodManagerService.java
+++ b/services/java/com/android/server/InputMethodManagerService.java
@@ -1298,6 +1298,18 @@
}
}
+ 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();