Add executor null check
Bug: 196043550 Test: presubmit Change-Id: I9b109094b042dba74c39c16b672abf85e938f73a
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user