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

Commit aafb4b60 authored by Nathalie Le Clair's avatar Nathalie Le Clair
Browse files

Add warning log

ARC will be disabled in AudioService regardless of whether ARC was
disabled in the connected Audio System succesfully or not. Still, having
a log here can help with debugging.

Test: none
Bug: 262573690
Change-Id: I756d622f2dd02f2a33014ee896b1644242030c1a
parent 7d3c37de
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4524,6 +4524,11 @@ public class HdmiControlService extends SystemService {
            startArcAction(false, new IHdmiControlCallback.Stub() {
                @Override
                public void onComplete(int result) throws RemoteException {
                    if (result != HdmiControlManager.RESULT_SUCCESS) {
                        Slog.w(TAG,
                                "ARC termination before enabling eARC in the HAL failed with "
                                        + "result: " + result);
                    }
                    // Independently of the result (i.e. independently of whether the ARC RX device
                    // responded with <Terminate ARC> or not), we always end up terminating ARC in
                    // the HAL. As soon as we do that, we can enable eARC in the HAL.