Skip to content
Commit 4d84fbe5 authored by Paul Colta's avatar Paul Colta
Browse files

HDMICEC: Generalize the address validation for the CEC messages

Using one paramter, the previous validator checked if a message should be directly addressed or broadcasted and if it is allowed that its source can be unregistered.

A cleaner solution is to use one parameter to validate the source and
another to validate the destination of the message.

This way, we can have more specific validations in the future for
different messages.

Test: atest com.android.server.hdmi && atest CtsHdmiCecHostTestCases
Bug: 280046486
Change-Id: I6817e5172ce0b8e480aee31faae343ef88adb680
parent 283a7000
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment