summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2015-03-04 16:19:55 -0800
committerRajesh Yengisetty <rajesh@cyngn.com>2015-03-05 00:22:58 +0000
commitdf474e4cab391b05b23d12d40940cd91591589a0 (patch)
treed34b9b5a8da318f638153b1f12a720ccdbc8f739
parent9b35b16017f883077cb8f8351c8a3d3bb8d84af9 (diff)
downloadpackages_apps_LockClock-df474e4cab391b05b23d12d40940cd91591589a0.zip
packages_apps_LockClock-df474e4cab391b05b23d12d40940cd91591589a0.tar.gz
packages_apps_LockClock-df474e4cab391b05b23d12d40940cd91591589a0.tar.bz2
LockClock: Reset visibility for Weather Image when weather info is
available If weather info is unavailable the image visibility is set to INVISIBLE. So we need to reset visibility when weather info is available. Change-Id: I7d8c673a72bf71b3c397361167c2a8000194eb90
-rw-r--r--src/com/cyanogenmod/lockclock/ClockWidgetService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/lockclock/ClockWidgetService.java b/src/com/cyanogenmod/lockclock/ClockWidgetService.java
index 2c3c57a..6fa0ab2 100644
--- a/src/com/cyanogenmod/lockclock/ClockWidgetService.java
+++ b/src/com/cyanogenmod/lockclock/ClockWidgetService.java
@@ -405,6 +405,7 @@ public class ClockWidgetService extends IntentService {
// Weather Image
int resId = w.getConditionResource(iconsSet);
+ weatherViews.setViewVisibility(R.id.weather_image, View.VISIBLE);
if (resId != 0) {
weatherViews.setImageViewResource(R.id.weather_image, w.getConditionResource(iconsSet));
} else {