OmniLib: remove uneeded calls in OmniJawsClient
all of these cases are covered already
Change-Id: Ie0ef1c22b067db91e078389f396512243dc88ae3
diff --git a/src/org/omnirom/omnilib/weather/OmniJawsClient.java b/src/org/omnirom/omnilib/weather/OmniJawsClient.java
index b6b771a..db80ad0 100644
--- a/src/org/omnirom/omnilib/weather/OmniJawsClient.java
+++ b/src/org/omnirom/omnilib/weather/OmniJawsClient.java
@@ -324,18 +324,6 @@
}
public Drawable getWeatherConditionImage(int conditionCode) {
- if (!isOmniJawsEnabled()) {
- Log.w(TAG, "Requesting condition image while disabled");
- return getDefaultConditionImage();
- }
- if (!isAvailableApp(mPackageName)) {
- Log.w(TAG, "Icon pack no longer available - loading default " + mPackageName);
- loadDefaultIconsPackage();
- }
- if (mRes == null) {
- Log.w(TAG, "Requesting condition image while disabled");
- return getDefaultConditionImage();
- }
try {
int resId = mRes.getIdentifier(mIconPrefix + "_" + conditionCode, "drawable", mPackageName);
Drawable d = mRes.getDrawable(resId);