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

Commit 4f7d72bf authored by Paul Colta's avatar Paul Colta Committed by Android (Google) Code Review
Browse files

Merge "HDMI: Avoid possible NPE in HdmiControlService" into main

parents 4f68c76b e0208308
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1650,7 +1650,7 @@ public class HdmiControlService extends SystemService {
                // allocation. This action is used by the TV to get the active source from the CEC
                // network. If the TV sent a source changing CEC message, this action does not have
                // to continue anymore.
                if (isTvDevice()) {
                if (isTvDeviceEnabled()) {
                    tv().removeAction(RequestActiveSourceAction.class);
                }
                sendCecCommandWithRetries(command, callback);