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

Commit c8d82888 authored by Abodunrinwa Toki's avatar Abodunrinwa Toki Committed by android-build-merger
Browse files

Merge "Re-set PROCESS_TEXT selection if nothing was returned." into mnc-dr-dev...

Merge "Re-set PROCESS_TEXT selection if nothing was returned." into mnc-dr-dev am: 3bd3655f am: 9e97c20e am: 0eef4ab5
am: 4d14e65c

* commit '4d14e65c':
  Re-set PROCESS_TEXT selection if nothing was returned.
parents 7e94976c 4d14e65c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1478,7 +1478,12 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                        }
                    }
                }
            } else if (mText instanceof Spannable) {
                // Reset the selection.
                stopTextActionMode();
                Selection.setSelection((Spannable) mText, getSelectionStart(), getSelectionEnd());
            }

            if (mEditor.hasSelectionController()) {
                mEditor.startSelectionActionMode();
            }