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

Commit 7baee5c3 authored by Tarandeep Singh's avatar Tarandeep Singh Committed by android-build-merger
Browse files

Merge "Skip updateCursorAnchorInfo when matrix is null" into qt-qpr1-dev am: 79243ed6

am: bfca446d

Change-Id: I6fc0dc17fea95def12ecc0e2e0090d0dc6cd9f87
parents a78ea5e5 bfca446d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -707,8 +707,9 @@ public final class InputMethodManager {
                        if (mBindSequence != bindSequence) {
                            return;
                        }
                        if (matrixValues == null) {
                            // That this app is unbound from the parent ActivityView. In this case,
                        if (matrixValues == null || mActivityViewToScreenMatrix == null) {
                            // Either InputBoundResult#mActivityViewToScreenMatrixValues is null
                            // OR this app is unbound from the parent ActivityView. In this case,
                            // calling updateCursorAnchorInfo() isn't safe. Only clear the matrix.
                            mActivityViewToScreenMatrix = null;
                            return;