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

Commit fe8e70cf authored by TYM Tsai's avatar TYM Tsai Committed by Automerger Merge Worker
Browse files

Merge "Notify Content Capture the selection was changed" into sc-dev am: 6c5c0235 am: cffa73e6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14842881

Change-Id: I4dabb03c71367d9eee1ed3b27c018d3e71c4e0d8
parents 9433e583 cffa73e6
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);
            }
        }