diff --git a/base/src/main/java/com/smartdevicelink/managers/screen/PresentAlertOperation.java b/base/src/main/java/com/smartdevicelink/managers/screen/PresentAlertOperation.java index 2b1f249cb7..a85901d3cf 100644 --- a/base/src/main/java/com/smartdevicelink/managers/screen/PresentAlertOperation.java +++ b/base/src/main/java/com/smartdevicelink/managers/screen/PresentAlertOperation.java @@ -416,6 +416,14 @@ private List getTTSChunksForAlert(AlertView alertView) { * @return True if soft button images are currently supported; false if not. */ private boolean supportsSoftButtonImages() { + if (currentWindowCapability == null || + currentWindowCapability.getSoftButtonCapabilities() == null || + currentWindowCapability.getSoftButtonCapabilities().size() == 0 || + currentWindowCapability.getSoftButtonCapabilities().get(0) == null + ) { + return true; + } + SoftButtonCapabilities softButtonCapabilities = currentWindowCapability.getSoftButtonCapabilities().get(0); return softButtonCapabilities.getImageSupported().booleanValue(); }