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

Commit ae05216a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AudioService: log recording on system sources"

parents b4e091d8 c92c1d1d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -69,6 +69,9 @@ public final class RecordingActivityMonitor implements AudioSystem.AudioRecordin
                                                AudioEffect.Descriptor[] effects,
                                                int activeSource, String packName) {
        if (MediaRecorder.isSystemOnlyAudioSource(source)) {
            // still want to log event, it just won't appear in recording configurations
            sEventLogger.log(new RecordingEvent(event, uid, session, source, packName)
                    .printLog(TAG));
            return;
        }
        String clientEffectName =  clientEffects.length == 0 ? "None" : clientEffects[0].name;