Workspace: Allow resizing any widget

Originally committed on Trebuchet: https://github.com/LineageOS/android_packages_apps_Trebuchet/commit/9814de7c9a517e667b9e7eb048b53194ff3f5f9d
This commit is contained in:
Nebojsa Cvetkovic authored and Yasan committed 2022-08-13 15:24:14 +04:30
1 parent e37c2f9515
commit 59ca9d6d3b
2 files changed
+5 -26

No files matched your search

+1 -2
View File
@@ -2126,8 +2126,7 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
final LauncherAppWidgetHostView hostView = (LauncherAppWidgetHostView) cell;
AppWidgetProviderInfo pInfo = hostView.getAppWidgetInfo();
if (pInfo != null && pInfo.resizeMode != AppWidgetProviderInfo.RESIZE_NONE
&& !options.isAccessibleDrag) {
if (pInfo != null && !options.isAccessibleDrag) {
onCompleteRunnable = () -> {
if (!isPageInTransition()) {
AppWidgetResizeFrame.showForWidget(hostView, cellLayout);