import android.content.ServiceConnection;
import android.os.IBinder;
import android.util.Log;
public class BackgroundMode extends CordovaPlugin {
private boolean inBackground = false;
<BUG>private boolean isDisabled = false;
static JSONObject settings = new JSONObject();</BUG>
private final ServiceConnection connection = new ServiceConnection() {
@Override
public void onServiceConnected(ComponentName name, IBinder binder) {

import android.content.ServiceConnection;
import android.os.IBinder;
import android.util.Log;
public class BackgroundMode extends CordovaPlugin {
private boolean inBackground = false;
private boolean isDisabled = false;
private boolean isBind = false;
static JSONObject settings = new JSONObject();
private final ServiceConnection connection = new ServiceConnection() {
@Override
public void onServiceConnected(ComponentName name, IBinder binder) {
