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

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

Merge "Properly invalidate text classification cache." into oc-dev am: f0d0e375

am: 6400a4a8

Change-Id: I110979a6d595fbd4a101b10ec92c70df57798ef5
parents 0b8720fd 6400a4a8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -400,6 +400,7 @@ final class SelectionActionModeHelper {
                CharSequence text, int selectionStart, int selectionEnd, LocaleList locales) {
            mTextClassifier = Preconditions.checkNotNull(textClassifier);
            mText = Preconditions.checkNotNull(text).toString();
            mLastClassificationText = null; // invalidate.
            Preconditions.checkArgument(selectionEnd > selectionStart);
            mSelectionStart = selectionStart;
            mSelectionEnd = selectionEnd;