diff --git a/framework/src/org/apache/cordova/SplashScreenPlugin.java b/framework/src/org/apache/cordova/SplashScreenPlugin.java index 425b13f9..54239584 100644 --- a/framework/src/org/apache/cordova/SplashScreenPlugin.java +++ b/framework/src/org/apache/cordova/SplashScreenPlugin.java @@ -92,7 +92,7 @@ public class SplashScreenPlugin extends CordovaPlugin { JSONArray args, CallbackContext callbackContext ) throws JSONException { - if (action.equals("hide") && autoHide == false) { + if (action.equals("hide") && !autoHide) { /* * The `.hide()` method can only be triggered if the `splashScreenAutoHide` * is set to `false`.