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

Commit c667d2e7 authored by daren.liao's avatar daren.liao Committed by Hannah Hsu
Browse files

Use updateCecDevice to update existing deviceInfo

Bug: 239880341

Test: Boot pass, connect CEC device PASS
Change-Id: I8033b85ea853b259ea5c9ae197204bb0ba461c0d
parent a090fdd7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ final class NewDeviceAction extends HdmiCecFeatureAction {
                .setVendorId(mVendorId)
                .setDisplayName(mDisplayName)
                .build();
        localDevice().mService.getHdmiCecNetwork().addCecDevice(deviceInfo);
        localDevice().mService.getHdmiCecNetwork().updateCecDevice(deviceInfo);

        // Consume CEC messages we already got for this newly found device.
        tv().processDelayedMessages(mDeviceLogicalAddress);