HDMICEC: Keep device name empty when OSD name is not set
This is an update to have a consistent behaviour introduced by ag/9557452. Bug: 246903679 Test: atest com.android.server.hdmi Change-Id: If05c8aab24dc83cb342e07a3468aebb4048d0925
This commit is contained in:
@@ -172,7 +172,7 @@ final class NewDeviceAction extends HdmiCecFeatureAction {
|
||||
return;
|
||||
}
|
||||
if (mDisplayName == null) {
|
||||
mDisplayName = HdmiUtils.getDefaultDeviceName(mDeviceLogicalAddress);
|
||||
mDisplayName = "";
|
||||
}
|
||||
HdmiDeviceInfo deviceInfo = HdmiDeviceInfo.cecDeviceBuilder()
|
||||
.setLogicalAddress(mDeviceLogicalAddress)
|
||||
|
||||
Reference in New Issue
Block a user