@Override @ServiceThreadOnly protected void disableDevice(boolean initiatedByCec, PendingActionClearedCallback callback) { super.disableDevice(initiatedByCec, callback); assertRunOnServiceThread(); if (!initiatedByCec && mIsActiveSource) { mService.sendCecCommand( HdmiCecMessageBuilder.buildInactiveSource(mAddress, mService.getPhysicalAddress())); } setActiveSource(false); checkIfPendingActionsCleared(); }
@Override protected void dump(final IndentingPrintWriter pw) { super.dump(pw); pw.println("mIsActiveSource: " + mIsActiveSource); }