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

Commit 15dbee2e authored by Chenjie Yu's avatar Chenjie Yu Committed by Android (Google) Code Review
Browse files

Merge "log screen event to statsd"

parents 8e741850 29fb1f7b
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -534,6 +534,11 @@ public final class BatteryStatsService extends IBatteryStats.Stub
        if (DBG) Slog.d(TAG, "begin noteScreenState");
        synchronized (mStats) {
            mStats.noteScreenStateLocked(state);
            // TODO: remove this once we figure out properly where and how
            // SCREEN_EVENT = 1003
            // State key: 1
            // State value: state. We can change this to our own def later.
            StatsLog.writeArray(1003, 1, state);
        }
        if (DBG) Slog.d(TAG, "end noteScreenState");
    }