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

Commit ea9ec719 authored by Yi-Ling Chuang's avatar Yi-Ling Chuang
Browse files

Add log metrics for contextual card loading.

Bug: 124492762
Test: rebuild
Change-Id: I1481e72eb166f97f505ce2ad37a231c4bce96e01
parent d5995a9a
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -616,7 +616,7 @@ enum Action {
    // OS: Q
    ACTION_PANEL_INTERACTION = 1658;

    // ACTION: Show Contextual homepage, log latency in loading cards
    // ACTION: Show Contextual homepage. Log total loading latency.
    ACTION_CONTEXTUAL_HOME_SHOW = 1662;

    // ACTION: Contextual card displays
@@ -649,6 +649,15 @@ enum Action {
    ACTION_ATCSCUC = 1680;

    ACTION_ATCHNUC = 1681;

    // ACTION: Individual contextual card loading time
    ACTION_CONTEXTUAL_CARD_LOAD = 1684;

    //ACTION: Contextual card loading timeout
    ACTION_CONTEXTUAL_CARD_LOAD_TIMEOUT = 1685;

    //ACTION: Log result for each card's eligibility check
    ACTION_CONTEXTUAL_CARD_ELIGIBILITY = 1686;
}

/**
+9 −0
Original line number Diff line number Diff line
@@ -7078,6 +7078,15 @@ message MetricsEvent {
    // Open: Settings will show the conditional when Grayscale mode is on
    SETTINGS_CONDITION_GRAYSCALE_MODE = 1683;

    // ACTION: Individual contextual card loading time
    ACTION_CONTEXTUAL_CARD_LOAD = 1684;

    //ACTION: Contextual card loading timeout
    ACTION_CONTEXTUAL_CARD_LOAD_TIMEOUT = 1685;

    //ACTION: Log result for each card's eligibility check
    ACTION_CONTEXTUAL_CARD_ELIGIBILITY = 1686;

    // ---- End Q Constants, all Q constants go above this line ----
    // Add new aosp constants above this line.
    // END OF AOSP CONSTANTS