commit | f1791fe5f059d02486e32e83c437b6fc572a37e5 | [log] [tgz] |
---|---|---|
author | Stefan Andonian <andonian@google.com> | Thu Jan 02 14:33:21 2025 -0800 |
committer | Stefan Andonian <andonian@google.com> | Thu Jan 02 14:33:21 2025 -0800 |
tree | 55ba153c2b9404bfc9d1a1cca3be4010b7355012 | |
parent | bf5e7e867ff422efbd6dc1c28b0878edc700dea7 [diff] |
WidgetResizeFrame doesn't disappear during Accessibility Widget Resize Bug: 384446925 Test: Verified this works locally after reproducing it. Flag: EXEMPT bug fix Change-Id: If5db895358f05b24cb67f7b23d78aada6c79a80a
diff --git a/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java b/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java index 81d6631..78b53a9 100644 --- a/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java +++ b/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
@@ -199,6 +199,8 @@ host.requestFocus(); host.sendAccessibilityEvent(TYPE_VIEW_FOCUSED); host.performAccessibilityAction(ACTION_ACCESSIBILITY_FOCUS, null); + AbstractFloatingView.closeOpenViews(mContext, /* animate= */ false, + AbstractFloatingView.TYPE_WIDGET_RESIZE_FRAME); }); return true; } else if (action == DEEP_SHORTCUTS) {