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

Commit 6c5c0235 authored by TYM Tsai's avatar TYM Tsai Committed by Android (Google) Code Review
Browse files

Merge "Notify Content Capture the selection was changed" into sc-dev

parents a46e16bd 46e946a2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -565,6 +565,7 @@ public final class SelectionActionModeHelper {
         */
        public void onSmartSelection(SelectionResult result) {
            onClassifiedSelection(result);
            mTextView.notifyContentCaptureTextChanged();
            mLogger.logSelectionModified(
                    result.mStart, result.mEnd, result.mClassification, result.mSelection);
        }
@@ -595,6 +596,7 @@ public final class SelectionActionModeHelper {
                mSelectionStart = selectionStart;
                mSelectionEnd = selectionEnd;
                mAllowReset = false;
                mTextView.notifyContentCaptureTextChanged();
                mLogger.logSelectionModified(selectionStart, selectionEnd, classification, null);
            }
        }