Fix warning
This commit is contained in:
parent
3cf8b62e84
commit
15807233a8
@ -158,10 +158,11 @@ public class BackgroundMode extends CordovaPlugin {
|
|||||||
/**
|
/**
|
||||||
* Update the settings and maybe the notification.
|
* Update the settings and maybe the notification.
|
||||||
*
|
*
|
||||||
* @param settings
|
* @param newSettings
|
||||||
|
* The new settings
|
||||||
*/
|
*/
|
||||||
private void setSettings(JSONObject settings) {
|
private void setSettings(JSONObject newSettings) {
|
||||||
this.settings = settings;
|
settings = newSettings;
|
||||||
|
|
||||||
if (inBackground) {
|
if (inBackground) {
|
||||||
stopService();
|
stopService();
|
||||||
|
Loading…
Reference in New Issue
Block a user