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

Commit 3531b093 authored by Andy Hung's avatar Andy Hung
Browse files

Mediametrics: Fix port_id typo

Flag: EXEMPT bugfix
Test: compiles
Bug: 335147865
Change-Id: Ic8e8b3f1a63fd874e94bec5f8216ece991bbd88c
parent 7e548ec4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ bool statsd_audiorecord(const std::shared_ptr<const mediametrics::Item>& item,

    int32_t port_id = -1;
    if (item->getInt32("android.media.audiorecord.portId", &port_id)) {
        metrics_proto.set_port_id(count);
        metrics_proto.set_port_id(port_id);
    }

    int32_t frame_count = -1;