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

Commit ba039365 authored by Nathalie Le Clair's avatar Nathalie Le Clair
Browse files

Add executor null check

Bug: 196043550
Test: presubmit

Change-Id: I9b109094b042dba74c39c16b672abf85e938f73a
parent 3a07651d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -63,6 +63,9 @@ public abstract class HdmiClient {
        if (listener == null) {
            throw new IllegalArgumentException("listener must not be null.");
        }
        if (executor == null) {
            throw new IllegalArgumentException("executor must not be null.");
        }
        try {
            mService.deviceSelect(logicalAddress,
                    getCallbackWrapper(logicalAddress, executor, listener));