summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Kast <julian@livio.com>2021-09-23 09:51:26 -0400
committerJulian Kast <julian@livio.com>2021-09-23 09:51:26 -0400
commit43eb7cea3f7b1cc56945e93bcd0f647833f633f9 (patch)
treec4feff841a34588342ef17aca004e485b00a4546
parentffa3e13e14aec7f2a4a03e8cff9ec44ef33416ce (diff)
downloadsdl_android-43eb7cea3f7b1cc56945e93bcd0f647833f633f9.tar.gz
-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;
}