Checked resId > 0; 0 is null
My bad on design to marc
Change-Id: I9a5387464f719a75b56186576340c5aef20798d3
diff --git a/src/com/android/mail/providers/Folder.java b/src/com/android/mail/providers/Folder.java
index 03a0253..448b0e7 100644
--- a/src/com/android/mail/providers/Folder.java
+++ b/src/com/android/mail/providers/Folder.java
@@ -441,7 +441,7 @@
public static void setFolderBlockColor(Folder folder, View colorBlock) {
final boolean showBg = !TextUtils.isEmpty(folder.bgColor);
final int backgroundColor = showBg ? Integer.parseInt(folder.bgColor) : 0;
- if (folder.iconResId >= 0) {
+ if (folder.iconResId > 0) {
colorBlock.setBackgroundResource((int)folder.iconResId);
} else if (!showBg) {
colorBlock.setBackgroundDrawable(null);