diff options
author | Michael Wright <michaelwr@google.com> | 2013-03-14 10:59:38 -0700 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2013-03-21 17:47:40 -0700 |
commit | 52a53526265c801b70eaf6dab1acf5c3f628f8a6 (patch) | |
tree | 37e128cc5a301edb375a4c106a28634b7f8d69a1 /services/java/com/android/server/InputMethodManagerService.java | |
parent | 95ae9429ee3555f4a1f396da423413ba496bdf33 (diff) |
Separate sessionCreated and finishedEvents callbacks
Bug: 8276952
Change-Id: If7051086c060fcce5d1e958ebbddec0784c851da
Diffstat (limited to 'services/java/com/android/server/InputMethodManagerService.java')
-rw-r--r-- | services/java/com/android/server/InputMethodManagerService.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index f6c9d8273513..0863bd6e9128 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -23,7 +23,7 @@ import com.android.internal.os.SomeArgs; import com.android.internal.util.FastXmlSerializer; import com.android.internal.view.IInputContext; import com.android.internal.view.IInputMethod; -import com.android.internal.view.IInputMethodCallback; +import com.android.internal.view.IInputSessionCallback; import com.android.internal.view.IInputMethodClient; import com.android.internal.view.IInputMethodManager; import com.android.internal.view.IInputMethodSession; @@ -554,7 +554,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub } } - private static class MethodCallback extends IInputMethodCallback.Stub { + private static class MethodCallback extends IInputSessionCallback.Stub { private final IInputMethod mMethod; private final InputMethodManagerService mParentIMMS; @@ -564,10 +564,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub } @Override - public void finishedEvent(int seq, boolean handled) throws RemoteException { - } - - @Override public void sessionCreated(IInputMethodSession session) throws RemoteException { mParentIMMS.onSessionCreated(mMethod, session); } @@ -2330,7 +2326,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub args = (SomeArgs)msg.obj; try { ((IInputMethod)args.arg1).createSession( - (IInputMethodCallback)args.arg2); + (IInputSessionCallback)args.arg2); } catch (RemoteException e) { } args.recycle(); |