Merge "HDMICEC: Remove deferred OneTouchPlayAction"
This commit is contained in:
@@ -544,6 +544,7 @@ public class HdmiCecLocalDevicePlayback extends HdmiCecLocalDeviceSource {
|
||||
|| message.getOpcode() == Constants.MESSAGE_SET_STREAM_PATH
|
||||
|| message.getOpcode() == Constants.MESSAGE_ACTIVE_SOURCE) {
|
||||
removeAction(ActiveSourceAction.class);
|
||||
removeAction(OneTouchPlayAction.class);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1051,13 +1051,13 @@ public class HdmiControlService extends SystemService {
|
||||
|
||||
// Address allocation completed for all devices. Notify each device.
|
||||
if (allocatingDevices.size() == ++finished[0]) {
|
||||
mAddressAllocated = true;
|
||||
if (initiatedBy != INITIATED_BY_HOTPLUG) {
|
||||
// In case of the hotplug we don't call
|
||||
// onInitializeCecComplete()
|
||||
// since we reallocate the logical address only.
|
||||
onInitializeCecComplete(initiatedBy);
|
||||
}
|
||||
mAddressAllocated = true;
|
||||
notifyAddressAllocated(allocatedDevices, initiatedBy);
|
||||
// Reinvoke the saved display status callback once the local
|
||||
// device is ready.
|
||||
|
||||
Reference in New Issue
Block a user