Set dimensional logging info to null for media pass.

Also adds logging only value to template type enum.

Bug: 235615616
Test: Unit-tests.
Change-Id: If526ee4233ad3983956c4e156b20a7e4a3c9f9bc
changekind: TRIVIAL_REBASE
This commit is contained in:
Gautam Shende
2022-08-09 22:41:01 +00:00
parent 51305284cf
commit 4eae272a4f
2 changed files with 6 additions and 1 deletions

View File

@@ -245,6 +245,10 @@ public final class SmartspaceTarget implements Parcelable {
public static final int UI_TEMPLATE_COMBINED_CARDS = 6;
// Sub-card template whose data is represented by {@link SubCardTemplateData}
public static final int UI_TEMPLATE_SUB_CARD = 7;
// Reserved: 8
// Template type used by non-UI template features for sending logging information in the
// base template data. This should not be used for UI template features.
// public static final int UI_TEMPLATE_LOGGING_ONLY = 8;
/**
* The types of the Smartspace ui templates.

View File

@@ -912,7 +912,8 @@ class MediaCarouselController @Inject constructor(
interactedSubcardRank,
interactedSubcardCardinality,
receivedLatencyMillis,
null // Media cards cannot have subcards.
null, // Media cards cannot have subcards.
null // Media cards don't have dimensions today.
)
/* ktlint-disable max-line-length */
if (DEBUG) {