You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2013/05/07 22:30:44 UTC

android commit: CB-3357: Fixing resource grabbing

Updated Branches:
  refs/heads/master 48b8c69ba -> 20caac1b6


CB-3357: Fixing resource grabbing


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/20caac1b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/20caac1b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/20caac1b

Branch: refs/heads/master
Commit: 20caac1b6eafcd2ef3f27d26d42662b8ebd307a7
Parents: 48b8c69
Author: Joe Bowser <bo...@apache.org>
Authored: Tue May 7 13:30:19 2013 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Tue May 7 13:30:30 2013 -0700

----------------------------------------------------------------------
 framework/src/org/apache/cordova/Config.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/20caac1b/framework/src/org/apache/cordova/Config.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/Config.java b/framework/src/org/apache/cordova/Config.java
index b9f81f0..ccf49c5 100644
--- a/framework/src/org/apache/cordova/Config.java
+++ b/framework/src/org/apache/cordova/Config.java
@@ -119,7 +119,7 @@ public class Config {
                     } else if (name.equals("splashscreen")) {
                         String value = xml.getAttributeValue(null, "value");
                         int resource = 0;
-                        if (value != null)
+                        if (value == null)
                         {
                             value = "splash";
                         }