Skip to content

Commit ecd265f

Browse files
Julian KastRHenigan
authored andcommitted
Update return statement to be high speed
1 parent 5d28384 commit ecd265f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonReplaceOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ private boolean allCurrentStateImagesAreUploaded() {
304304
}
305305

306306
private boolean supportsSoftButtonImages() {
307-
return softButtonCapabilities != null ? Boolean.TRUE.equals(softButtonCapabilities.getImageSupported()) : false;
307+
return softButtonCapabilities != null && Boolean.TRUE.equals(softButtonCapabilities.getImageSupported());
308308
}
309309

310310
void setCurrentMainField1(String currentMainField1) {

0 commit comments

Comments
 (0)