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

Commit 26503953 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...

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

Change-Id: I1a9309797107402ebdf69d6c6d72c7b277190472
parents dc94c25d 835269e7
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;
    }