Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c0bf705 authored by Winni Chang's avatar Winni Chang
Browse files

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
parent df8c1f64
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
        }
    }