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

Commit d5756a1c authored by Yuyang Huang's avatar Yuyang Huang Committed by Automerger Merge Worker
Browse files

Merge "improve HFP logging" into main am: 83e91723 am: d9b493eb

parents 53cfdf5a d9b493eb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -847,7 +847,6 @@ public class HeadsetService extends ProfileService {
            Log.w(TAG, "getHeadsetService(): service is not available");
            return null;
        }
        logD("getHeadsetService(): returning " + sHeadsetService);
        return sHeadsetService;
    }

@@ -1341,7 +1340,7 @@ public class HeadsetService extends ProfileService {
        synchronized (mStateMachines) {
            final HeadsetStateMachine stateMachine = mStateMachines.get(device);
            if (stateMachine == null) {
                Log.e(TAG, "getHfpCallAudioPolicy(), " + device + " does not have a state machine");
                Log.w(TAG, "getHfpCallAudioPolicy(), " + device + " does not have a state machine");
                return null;
            }
            return stateMachine.getHfpCallAudioPolicy();