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

Commit d8f9c6bc authored by Atneya Nair's avatar Atneya Nair Committed by Automerger Merge Worker
Browse files

Revert "Listen for foreground AppOps changes" am: 8b11bc9a

parents 033fcae8 8b11bc9a
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1930,7 +1930,6 @@ void AudioPolicyService::OpRecordAudioMonitor::onFirstRef()
    // since it controls the mic permission for legacy apps.
    // since it controls the mic permission for legacy apps.
    mAppOpsManager.startWatchingMode(mAppOp, VALUE_OR_FATAL(aidl2legacy_string_view_String16(
    mAppOpsManager.startWatchingMode(mAppOp, VALUE_OR_FATAL(aidl2legacy_string_view_String16(
        mAttributionSource.packageName.value_or(""))),
        mAttributionSource.packageName.value_or(""))),
        AppOpsManager::WATCH_FOREGROUND_CHANGES,
        mOpCallback);
        mOpCallback);
}
}