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

Commit 3140ee1c authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "MediaMetricsService: accept mediadrm.* records"

parents 8fc16d0e 27914969
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -511,6 +511,8 @@ bool MediaMetricsService::isContentValid(const mediametrics::Item *item, bool is
    const std::string &key = item->getKey();
    if (startsWith(key, "audio.")) return true;
    if (startsWith(key, "drm.vendor.")) return true;
    if (startsWith(key, "mediadrm.")) return true;

    // the list of allowedKey uses statsd_handlers
    // in iface_statsd.cpp as reference
    // drmmanager is from a trusted uid, therefore not needed here