Fix warning

This commit is contained in:
Sebastián Katzer 2014-11-04 17:06:01 +00:00
parent 3cf8b62e84
commit 15807233a8

View File

@ -158,10 +158,11 @@ public class BackgroundMode extends CordovaPlugin {
/**
* Update the settings and maybe the notification.
*
* @param settings
* @param newSettings
* The new settings
*/
private void setSettings(JSONObject settings) {
this.settings = settings;
private void setSettings(JSONObject newSettings) {
settings = newSettings;
if (inBackground) {
stopService();