summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/src/main/java/com/smartdevicelink/managers/lifecycle/BaseSystemCapabilityManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/src/main/java/com/smartdevicelink/managers/lifecycle/BaseSystemCapabilityManager.java b/base/src/main/java/com/smartdevicelink/managers/lifecycle/BaseSystemCapabilityManager.java
index e76189632..33a778e58 100644
--- a/base/src/main/java/com/smartdevicelink/managers/lifecycle/BaseSystemCapabilityManager.java
+++ b/base/src/main/java/com/smartdevicelink/managers/lifecycle/BaseSystemCapabilityManager.java
@@ -137,7 +137,7 @@ abstract class BaseSystemCapabilityManager {
List<String> templatesAvailable = display.getTemplatesAvailable();
if (templatesAvailable != null) {
for (int i = 0; i < templatesAvailable.size(); i++) {
- if (templatesAvailable.get(i).equals("NON_MEDIA")) {
+ if ("NON_MEDIA".equals(templatesAvailable.get(i))) {
templatesAvailable.set(i, "NON-MEDIA");
break;
}