mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2025-12-13 01:43:24 +00:00
Fix warning
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user