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

Commit b0db5940 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Fix for an NPE in Account settings on long press.

Bug 3333512

Change-Id: Ief79e824b86b964598f00ef74c6b5c61c0730242
parent b74e32cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -258003,7 +258003,7 @@
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="arg0" type="T">
<parameter name="t" type="T">
</parameter>
</method>
</interface>
+1 −1
Original line number Diff line number Diff line
@@ -7854,7 +7854,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener

        MenuHandler handler = new MenuHandler();

        if (mText instanceof Spanned) {
        if (mText instanceof Spanned && hasSelectionController()) {
            long lastTouchOffset = getLastTouchOffsets();
            final int selStart = extractRangeStartFromLong(lastTouchOffset);
            final int selEnd = extractRangeEndFromLong(lastTouchOffset);