am 6cfb4495: Merge "CEC: Let MHL device be of type \'source\'" into lmp-mr1-dev
* commit '6cfb44952a76303fe1c7cc75b545cb8aad72eecf': CEC: Let MHL device be of type 'source'
This commit is contained in:
@@ -336,9 +336,15 @@ public class HdmiDeviceInfo implements Parcelable {
|
||||
* Returns {@code true} if the device is of a type that can be an input source.
|
||||
*/
|
||||
public boolean isSourceType() {
|
||||
return mDeviceType == DEVICE_PLAYBACK
|
||||
|| mDeviceType == DEVICE_RECORDER
|
||||
|| mDeviceType == DEVICE_TUNER;
|
||||
if (isCecDevice()) {
|
||||
return mDeviceType == DEVICE_PLAYBACK
|
||||
|| mDeviceType == DEVICE_RECORDER
|
||||
|| mDeviceType == DEVICE_TUNER;
|
||||
} else if (isMhlDevice()) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user