From 29d3ad88917fa77f3e5bc4bd2d031ef9a28eed1a Mon Sep 17 00:00:00 2001 From: MrSluffy Date: Sat, 21 Dec 2024 13:42:03 +0800 Subject: [PATCH] feat : allow placing widget in hotseat --- src/com/android/launcher3/CellLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java index a1fe3cd511e..848bf42e3e2 100644 --- a/src/com/android/launcher3/CellLayout.java +++ b/src/com/android/launcher3/CellLayout.java @@ -740,7 +740,7 @@ public int getCountY() { } public boolean acceptsWidget() { - return mContainerType == WORKSPACE; + return mContainerType == WORKSPACE || mContainerType == HOTSEAT; } /**