diff options
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/hardware/hdmi/HdmiClient.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/hardware/hdmi/HdmiClient.java b/core/java/android/hardware/hdmi/HdmiClient.java index 1a52f11e7c04..cee6a5b16a3c 100644 --- a/core/java/android/hardware/hdmi/HdmiClient.java +++ b/core/java/android/hardware/hdmi/HdmiClient.java @@ -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)); |
