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

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

Merge "Add missing Log.endSession" into qt-qpr1-dev

parents 544bb1da c6207d4c
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
@@ -1275,6 +1275,7 @@ public class CallAudioRouteStateMachine extends StateMachine {
        @Override
        public void onReceive(Context context, Intent intent) {
            Log.startSession("CARSM.mCR");
            try {
                if (AudioManager.ACTION_MICROPHONE_MUTE_CHANGED.equals(intent.getAction())) {
                    if (mCallsManager.hasEmergencyCall()) {
                        Log.i(this, "Mute was externally changed when there's an emergency call. " +
@@ -1286,6 +1287,9 @@ public class CallAudioRouteStateMachine extends StateMachine {
                } else {
                    Log.w(this, "Received non-mute-change intent");
                }
            } finally {
                Log.endSession();
            }
        }
    };