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

Commit 7d3d51b1 authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

audio policy: add recording app ops monitoring for system services am: 987ce105 am: 4215c2dc

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/15208235

Change-Id: I131059cd4c92fd9a31a527037c8ad8314359c832
parents 2c8232cc 4215c2dc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1442,8 +1442,8 @@ AudioPolicyService::OpRecordAudioMonitor::createIfNeeded(
            const AttributionSourceState& attributionSource, const audio_attributes_t& attr,
            wp<AudioCommandThread> commandThread)
{
    if (isServiceUid(attributionSource.uid)) {
        ALOGV("not silencing record for service %s",
    if (isAudioServerOrRootUid(attributionSource.uid)) {
        ALOGV("not silencing record for audio or root source %s",
                attributionSource.toString().c_str());
        return nullptr;
    }