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

Commit b166ad00 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: I02d86c04426fdbc5486b8c2b870d5322f575a3c8
parents 816613bd 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;
    }