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

Commit 97a13213 authored by Lei Yu's avatar Lei Yu
Browse files

Add metrics for battery settings

1. ACTION_TIP_OPEN_BATTERY_SAVER_PAGE
2. FIELD_APP_VERSION_CODE

Bug: 77919142
Bug: 77874407
Test: Build
Change-Id: Idb4d304e9c6b078b083871d8b787fea39480c062
parent fc59a57f
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -5649,6 +5649,16 @@ message MetricsEvent {
    // OS: P
    ACTION_ANOMALY_IGNORED = 1387;

    // ACTION: Settings > Battery settings > Battery tip > Open battery saver page
    // CATEGORY: SETTINGS
    // OS: P
    ACTION_TIP_OPEN_BATTERY_SAVER_PAGE = 1388;

    // FIELD: the version code of an app
    // CATEGORY: SETTINGS
    // OS: P
    FIELD_APP_VERSION_CODE = 1389;

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