Skip to content
Commit 097f6504 authored by Aleksej Makarov's avatar Aleksej Makarov Committed by Hongguang Chen
Browse files

HdmiVideoExtconUEventObserver: handle "DP=1" state



HdmiVideoExtconUEventObserver handles only "HDMI=1" external
connection state while kernel generates uevent with "DP=1" state
when external hdmi display is connected via USB-C-to-HDMI converter.
This results in wrong DisplayPolicy.mHdmiPlugged value when
hdmi display is connected, so we need to handle "DP=1" state as well.

Bug: 288003290
Test: take bugreport while external hdmi display is connected
and grep for "mHdmiPlugged=true"
Signed-off-by: default avatarAleksej Makarov <aleksej.makarov@sony.com>
Change-Id: I410122aad09a5414a736cac51647e75fcfa61055
parent ee4446c0
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