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

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

Change-Id: I982abaa3ec6622c404e76b6449b071115e602184
This commit is contained in:
TYM Tsai
2021-07-02 04:10:20 +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 */);
}