Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4eae272a authored by Gautam Shende's avatar Gautam Shende
Browse files

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
parent 51305284
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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.
+2 −1
Original line number Diff line number Diff line
@@ -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) {