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

Commit 3d4c3aca authored by Victoria Lease's avatar Victoria Lease Committed by Android (Google) Code Review
Browse files

Merge "check for null mEditor in TextView.canCopy()"

parents 0574dc53 d849f546
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8481,7 +8481,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            return false;
        }

        if (mText.length() > 0 && hasSelection()) {
        if (mText.length() > 0 && hasSelection() && mEditor != null) {
            return true;
        }