Merge branch 'master' into 4.0.x (adb CWD & build --unknown-flag)

Conflicts:
	framework/src/org/apache/cordova/SplashScreenInternal.java
This commit is contained in:
Andrew Grieve
2014-12-11 13:47:07 -05:00
6 changed files with 30 additions and 17 deletions
@@ -133,6 +133,9 @@ public class CordovaPreferences {
} else if (name.equals("splashscreen")) {
// Note: We should probably pass in the classname for the variable splash on splashscreen!
int resource = action.getResources().getIdentifier(value, "drawable", action.getClass().getPackage().getName());
if(resource == 0) {
resource = action.getResources().getIdentifier(value, "drawable", action.getPackageName());
}
action.getIntent().putExtra(name, resource);
}
else if(name.equals("backgroundcolor")) {