Revert the change in LawnchairWidgetHolder

This commit is contained in:
Goooler
2024-04-03 09:25:51 +08:00
parent 1fcac4c15d
commit 286f5b5cc0

View File

@@ -11,7 +11,10 @@ import java.util.function.IntConsumer
class LawnchairWidgetHolder(context: Context, intConsumer: IntConsumer?) : LauncherWidgetHolder(context, intConsumer) {
@Keep
class LawnchairHolderFactory : HolderFactory() {
class LawnchairHolderFactory
@Suppress("unused")
constructor(@Suppress("UNUSED_PARAMETER") context: Context) :
HolderFactory() {
override fun newInstance(
context: Context,
appWidgetRemovedCallback: IntConsumer?,