From 15807233a85df09c1e702a1f0d98cfb9f359dda5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= Date: Tue, 4 Nov 2014 17:06:01 +0000 Subject: [PATCH] Fix warning --- src/android/BackgroundMode.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/android/BackgroundMode.java b/src/android/BackgroundMode.java index 339910f..ea44045 100644 --- a/src/android/BackgroundMode.java +++ b/src/android/BackgroundMode.java @@ -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();