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

Commit e3b27516 authored by howardchung's avatar howardchung
Browse files

Floss: fix chromeos metrics signature

LogMetricsBondCreateAttempt has different signatures in
./system/gd/metrics/linux/metrics.cc
and
./system/gd/metrics/chromeos/metrics.cc

This causes fail to build.
This fix aligns the chromeos definition with linux.

BUG: 239780196
Tag: #floss
Test: emerge-${BOARD} floss
Change-Id: I3417770c9f0bcad2fa33a77093aefa3ada6809c3
parent 9285462c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ void LogMetricsAdapterStateChanged(uint32_t state) {
      .Record();
}

void LogMetricsBondCreateAttempt(RawAddress* addr) {}
void LogMetricsBondCreateAttempt(RawAddress* addr, uint32_t device_type) {}

void LogMetricsBondStateChanged(
    RawAddress* addr, uint32_t device_type, uint32_t status, uint32_t bond_state, int32_t fail_reason) {}