From 78aa3f26eb36683d9aeeeb9a57f4350a80e48a52 Mon Sep 17 00:00:00 2001 From: Andriy Shevtsov Date: Thu, 31 Oct 2024 11:27:47 +0200 Subject: [PATCH] fixup! Add logs and telemetry for Entry Widget --- .../widgets/entrywidget/adapter/EntryWidgetAdapter.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/widgetssdk/src/main/java/com/glia/widgets/entrywidget/adapter/EntryWidgetAdapter.kt b/widgetssdk/src/main/java/com/glia/widgets/entrywidget/adapter/EntryWidgetAdapter.kt index e5c0fd88a..cf6300d48 100644 --- a/widgetssdk/src/main/java/com/glia/widgets/entrywidget/adapter/EntryWidgetAdapter.kt +++ b/widgetssdk/src/main/java/com/glia/widgets/entrywidget/adapter/EntryWidgetAdapter.kt @@ -37,7 +37,13 @@ internal class EntryWidgetAdapter( ) init { - Logger.d(TAG, "Creating an EntryWidget for $viewType") + when (viewType) { + EntryWidgetContract.ViewType.BOTTOM_SHEET, + EntryWidgetContract.ViewType.EMBEDDED_VIEW -> Logger.d(TAG, "Creating an EntryWidget for $viewType") + + else -> { /* No need to send a log */ + } + } } companion object {