Workspace: Allow resizing any widget
Originally committed on Trebuchet: https://github.com/LineageOS/android_packages_apps_Trebuchet/commit/9814de7c9a517e667b9e7eb048b53194ff3f5f9d
This commit is contained in:
1 parent
e37c2f9515
commit
59ca9d6d3b
2 files changed
+5
-26
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user