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

Commit 7f9fec51 authored by Hall Liu's avatar Hall Liu
Browse files

Add missing Log.endSession

Fixes: 142945484
Test: manual
Change-Id: I0487ef00e72d7ed1b8eaaba636dbbd27d713b271
parent 32fa8580
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
@@ -1276,6 +1276,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. " +
@@ -1287,6 +1288,9 @@ public class CallAudioRouteStateMachine extends StateMachine {
                } else {
                    Log.w(this, "Received non-mute-change intent");
                }
            } finally {
                Log.endSession();
            }
        }
    };