Merge "Notify Content Capture when deselected" into sc-dev am: 598376c6b5 am: 4861ac8b45

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

Change-Id: I54ed39e850ea069c6b9fa28da0745b89196ecf39
This commit is contained in:
TYM Tsai
2021-07-02 04:33:22 +00:00
committed by Automerger Merge Worker

View File

@@ -606,6 +606,7 @@ public final class SelectionActionModeHelper {
*/
public void onSelectionDestroyed() {
mAllowReset = false;
mTextView.notifyContentCaptureTextChanged();
// Wait a few ms to see if the selection was destroyed because of a text change event.
mDelayedLogAbandon.schedule(100 /* ms */);
}