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: I3d5e270008cba18f79906bd0973d5a4dd2c8cf55
This commit is contained in:
TYM Tsai
2021-07-02 04:09:25 +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 */);
}