Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eec5634f authored by Yohei Yukawa's avatar Yohei Yukawa Committed by Android (Google) Code Review
Browse files

Merge "Fix illegal cast in a logging code" into lmp-dev

parents 3acc8f14 080fa345
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -2606,15 +2606,15 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
                return true;
            case MSG_SET_USER_ACTION_NOTIFICATION_SEQUENCE_NUMBER: {
                final int sequenceNumber = msg.arg1;
                final IInputMethodClient client = (IInputMethodClient)msg.obj;
                final ClientState clientState = (ClientState)msg.obj;
                try {
                    client.setUserActionNotificationSequenceNumber(sequenceNumber);
                    clientState.client.setUserActionNotificationSequenceNumber(sequenceNumber);
                } catch (RemoteException e) {
                    Slog.w(TAG, "Got RemoteException sending "
                            + "setUserActionNotificationSequenceNumber("
                            + sequenceNumber + ") notification to pid "
                            + ((ClientState)msg.obj).pid + " uid "
                            + ((ClientState)msg.obj).uid);
                            + clientState.pid + " uid "
                            + clientState.uid);
                }
                return true;
            }
@@ -3036,7 +3036,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
        if (mCurClient != null && mCurClient.client != null) {
            executeOrSendMessage(mCurClient.client, mCaller.obtainMessageIO(
                    MSG_SET_USER_ACTION_NOTIFICATION_SEQUENCE_NUMBER,
                    mCurUserActionNotificationSequenceNumber, mCurClient.client));
                    mCurUserActionNotificationSequenceNumber, mCurClient));
        }

        // Set Subtype here