Fire failure event on service disconnected
This commit is contained in:
parent
17fbc6981d
commit
b1e2080a1d
@ -75,7 +75,7 @@ public class BackgroundMode extends CordovaPlugin {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onServiceDisconnected(ComponentName name) {
|
public void onServiceDisconnected(ComponentName name) {
|
||||||
// Nothing to do here
|
fireEvent(Event.FAILURE, "service disconnected");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user