Fix type error

This commit is contained in:
Sebastián Katzer 2014-12-14 15:26:43 +01:00
parent 63b78aa109
commit db7006cb18

View File

@ -292,7 +292,7 @@ public class BackgroundMode extends CordovaPlugin {
eventName = "failure";
}
String active = event == Event.ACTIVATE ? "true" : false;
String active = event == Event.ACTIVATE ? "true" : "false";
String flag = String.format("%s._isActive=%s;",
JS_NAMESPACE, active);