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

Commit d801feda authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix stuck HDMI-CEC actions after boot"

parents 0fe46d94 85b77117
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -556,6 +556,12 @@ public class HdmiControlService extends SystemService {
        // on boot, if device is interactive, set HDMI CEC state as powered on as well
        if (mPowerManager.isInteractive() && isPowerStandbyOrTransient()) {
            mPowerStatus = HdmiControlManager.POWER_STATUS_ON;
            // Start all actions that were queued because the device was in standby
            if (mAddressAllocated) {
                for (HdmiCecLocalDevice localDevice : getAllLocalDevices()) {
                    localDevice.startQueuedActions();
                }
            }
        }
    }