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

Commit 2a96172f 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

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

Change-Id: I89a30706418da31912acbfc12d3961299fb17aae
parents 48dea755 987ce105
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;
    }