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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user