Make sure to make WidgetResizeFrame is not accessible

Fix: 317170537
Test: manual testing, making sure to test the widget picker flow
and testing the reorder accessible flow.
Flag: NA

Change-Id: I94be43b8ef5c8cd8574178eec563324fc0dc08ad
This commit is contained in:
Sebastian Franco committed 2024-02-20 16:59:10 -08:00
1 parent 028482609c
commit 8397965d69
2 files changed
+3 -3

No files matched your search

+1 -2
View File
@@ -2226,8 +2226,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
private Runnable getWidgetResizeFrameRunnable(DragOptions options,
LauncherAppWidgetHostView hostView, CellLayout cellLayout) {
AppWidgetProviderInfo pInfo = hostView.getAppWidgetInfo();
if (pInfo != null && pInfo.resizeMode != AppWidgetProviderInfo.RESIZE_NONE
&& !options.isAccessibleDrag) {
if (pInfo != null && pInfo.resizeMode != AppWidgetProviderInfo.RESIZE_NONE) {
return () -> {
if (!isPageInTransition()) {
AppWidgetResizeFrame.showForWidget(hostView, cellLayout);