浏览代码

Value for smallIcon is required

Set value of smallIcon to icon by default as it was in the past before the smallIcon could be defined yourself.
Reported by #59
Sebastián Katzer 12 年之前
父节点
当前提交
3486492067
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/android/Options.java

+ 4 - 0
src/android/Options.java

@@ -179,6 +179,10 @@ public class Options {
             resId = getIconValue("android", iconName);
             resId = getIconValue("android", iconName);
         }
         }
 
 
+        if (resId == 0) {
+            resId = getIcon();
+        }
+        
         return options.optInt("smallIcon", resId);
         return options.optInt("smallIcon", resId);
     }
     }