mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-12-23 13:57:35 +00:00
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.
|
||||
*
|
||||
* @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();
|
||||
|
Loading…
Reference in New Issue
Block a user