Support 3-types SCV

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
Pun Butrach
2025-08-31 17:59:50 +07:00
parent 833ca905d3
commit ffdf72e691
@@ -5,7 +5,11 @@ import android.util.AttributeSet
import app.lawnchair.search.LawnchairSearchUiDelegate
import com.android.launcher3.allapps.LauncherAllAppsContainerView
class SearchContainerView(context: Context?, attrs: AttributeSet?) : LauncherAllAppsContainerView(context, attrs) {
class SearchContainerView @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
defStyleAttr: Int = 0
) : LauncherAllAppsContainerView(context, attrs, defStyleAttr) {
override fun createSearchUiDelegate() = LawnchairSearchUiDelegate(this)
}