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

Commit 3bd3655f authored by Abodunrinwa Toki's avatar Abodunrinwa Toki Committed by Android (Google) Code Review
Browse files

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

parents 1a4efb77 3b8a5ea0
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1474,7 +1474,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()) {
            if (mEditor.hasSelectionController()) {
                mEditor.startSelectionActionMode();
                mEditor.startSelectionActionMode();
            }
            }