From 6fa840aea965816cc4c357ac9191ccbcb7a20cdc Mon Sep 17 00:00:00 2001 From: Suphon Thanakornpakapong Date: Thu, 19 May 2022 11:52:47 +0700 Subject: [PATCH] Fix smartspace long click listener --- .../src/app/lawnchair/smartspace/SmartspaceViewContainer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lawnchair/src/app/lawnchair/smartspace/SmartspaceViewContainer.kt b/lawnchair/src/app/lawnchair/smartspace/SmartspaceViewContainer.kt index 1fc60a06e8..ebffb167f9 100644 --- a/lawnchair/src/app/lawnchair/smartspace/SmartspaceViewContainer.kt +++ b/lawnchair/src/app/lawnchair/smartspace/SmartspaceViewContainer.kt @@ -27,7 +27,7 @@ class SmartspaceViewContainer @JvmOverloads constructor( val inflater = LayoutInflater.from(context) smartspaceView = inflater.inflate(R.layout.smartspace_enhanced, this, false) as BcSmartspaceView smartspaceView.previewMode = previewMode - smartspaceView.setOnLongClickListener { + setOnLongClickListener { openOptions() true }