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

Commit 63618542 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Guard against null when wrapping input connection."

parents 764ba4bd 3acedf28
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -679,8 +679,8 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene
                        }
                    };

            InputConnection ic = InputConnectionCompat.createWrapper(
                    inputConnection, outAttrs, callback);
            InputConnection ic = inputConnection == null ? null :
                    InputConnectionCompat.createWrapper(inputConnection, outAttrs, callback);

            Context userContext = null;
            try {