From fb0c0371d45360ae2920ea060e4b30e5acce3978 Mon Sep 17 00:00:00 2001 From: Adnan Begovic Date: Mon, 6 Jun 2016 10:38:58 -0700 Subject: [PATCH] cmsdk: Fix redundant case in themes contract's componentToImageColName. TICKET: CYNGNOS-3015 Change-Id: I1daf7cf7b5b2119ab34e69b339644a1fb3da16dc --- sdk/src/java/cyanogenmod/providers/ThemesContract.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/src/java/cyanogenmod/providers/ThemesContract.java b/sdk/src/java/cyanogenmod/providers/ThemesContract.java index 4cdfeb9..78d56cb 100644 --- a/sdk/src/java/cyanogenmod/providers/ThemesContract.java +++ b/sdk/src/java/cyanogenmod/providers/ThemesContract.java @@ -385,9 +385,9 @@ public class ThemesContract { throw new IllegalArgumentException("Ringtone mixnmatch component does not have a related column"); } else if (component.equals(MixnMatchColumns.KEY_OVERLAYS)) { return ThemesColumns.OVERLAYS_URI; - } else if (component.equals(MixnMatchColumns.KEY_STATUS_BAR)) { + } else if (component.equals(MixnMatchColumns.KEY_ALARM)) { throw new IllegalArgumentException( - "Status bar mixnmatch component does not have a related column"); + "Alarm mixnmatch component does not have a related column"); } else if (component.equals(MixnMatchColumns.KEY_NAVIGATION_BAR)) { throw new IllegalArgumentException( "Navigation bar mixnmatch component does not have a related column");