HDMI: More reliable DSM setting disabling
Wait for ArcTerminationActionFromAvr to finish before giving up the LA 5 during Dynamic Soundbar mode disabling process. Add callback inside ArcTerminationActionFromAvr. Transfer the callback in HdmiCecLocalDeviceAudioSystem#handleRequestArcTermination so it doesn't get lost. Callback is not transfered in the following situation, in HdmiCecLocalDeviceAudioSystem#initArcOnFromAvr ARC termination is interrupted by ARC initialization from AVR. This scenario would occur if user toggles DSM off then on before ARC termination process is completed, then the local device audio system tries establishing ARC connection when logical address allocation finished. In this case, DSM would be enabled and the callback from ARC termination action that retriggers logical address allocation wouldn't be necessary. Bug: 260322563 Test: make && atest com.android.server.hdmi.HdmiControlServiceTest Change-Id: Ib0a8b3a7da79da8cf3f9724a685a55c80760a755
Loading
Please register or sign in to comment