Merge "Notify Content Capture when deselected" into sc-dev

This commit is contained in:
TYM Tsai
2021-07-02 03:55:12 +00:00
committed by Android (Google) Code Review

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 */);
}