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

Commit 835269e7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Make sure to call SomeArgs#recycle() in IMMS#handleMessage" into rvc-dev am: fa440185

Change-Id: I0e00c0b21181823bdcb5d6de557b8d43373bc0f2
parents 437f3fdc fa440185
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4262,7 +4262,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
            }

            // ---------------------------------------------------------------
            case MSG_INLINE_SUGGESTIONS_REQUEST:
            case MSG_INLINE_SUGGESTIONS_REQUEST: {
                args = (SomeArgs) msg.obj;
                final InlineSuggestionsRequestInfo requestInfo =
                        (InlineSuggestionsRequestInfo) args.arg2;
@@ -4274,8 +4274,10 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
                } catch (RemoteException e) {
                    Slog.w(TAG, "RemoteException calling onCreateInlineSuggestionsRequest(): " + e);
                }
                args.recycle();
                return true;
            }
        }
        return false;
    }