Update invoke Vendor Command Listener for Vendor ID check
If CEC device send incorrect Vendor ID, vendor command listener can't process it, should return false to notify the CEC device <Feature Abort> this message Change-Id: I25fdc5f6b39d6342447ff2cae0b8688d1e4d8ee0 Bug: 268129479 Test: CtsHdmiCecHostTestCases
This commit is contained in:
@@ -3774,11 +3774,12 @@ public class HdmiControlService extends SystemService {
|
||||
}
|
||||
try {
|
||||
record.mListener.onReceived(srcAddress, destAddress, params, hasVendorId);
|
||||
return true;
|
||||
} catch (RemoteException e) {
|
||||
Slog.e(TAG, "Failed to notify vendor command reception", e);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user