Merge "Fix SystemAudioAutoInitiationAction not started"
This commit is contained in:
@@ -619,11 +619,9 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mService.isPowerStandbyOrTransient()) {
|
|
||||||
addAndStartAction(new NewDeviceAction(this, activeSource.logicalAddress,
|
addAndStartAction(new NewDeviceAction(this, activeSource.logicalAddress,
|
||||||
activeSource.physicalAddress, deviceType));
|
activeSource.physicalAddress, deviceType));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private boolean handleNewDeviceAtTheTailOfActivePath(int path) {
|
private boolean handleNewDeviceAtTheTailOfActivePath(int path) {
|
||||||
// Seq #22
|
// Seq #22
|
||||||
@@ -798,7 +796,6 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
|
|||||||
@ServiceThreadOnly
|
@ServiceThreadOnly
|
||||||
void onNewAvrAdded(HdmiDeviceInfo avr) {
|
void onNewAvrAdded(HdmiDeviceInfo avr) {
|
||||||
assertRunOnServiceThread();
|
assertRunOnServiceThread();
|
||||||
if (!mService.isPowerStandbyOrTransient()) {
|
|
||||||
addAndStartAction(new SystemAudioAutoInitiationAction(this, avr.getLogicalAddress()));
|
addAndStartAction(new SystemAudioAutoInitiationAction(this, avr.getLogicalAddress()));
|
||||||
if (!isDirectConnectAddress(avr.getPhysicalAddress())) {
|
if (!isDirectConnectAddress(avr.getPhysicalAddress())) {
|
||||||
startArcAction(false);
|
startArcAction(false);
|
||||||
@@ -807,7 +804,6 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
|
|||||||
startArcAction(true);
|
startArcAction(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Clear all device info.
|
// Clear all device info.
|
||||||
@ServiceThreadOnly
|
@ServiceThreadOnly
|
||||||
|
|||||||
Reference in New Issue
Block a user