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

Commit 6ec85451 authored by Tej Singh's avatar Tej Singh Committed by Gerrit Code Review
Browse files

Merge "Cleanup bt MetricsLogger"

parents 94ff0246 cd0d9b0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ public class MetricsLogger {
    protected void drainBufferedCounters() {
        Log.i(TAG, "drainBufferedCounters().");
        synchronized (mLock) {
            // send mCounters to westworld
            // send mCounters to statsd
            for (int key : mCounters.keySet()) {
                writeCounter(key, mCounters.get(key));
            }
+2 −2
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ public class MetricsLoggerTest {
    }

    /**
     * Test add counters and send them to westworld
     * Test add counters and send them to statsd
     */
    @Test
    public void testAddAndSendCountersNormalCases() {