Fire failure event on service disconnected

This commit is contained in:
Sebastián Katzer 2017-01-27 16:50:20 +01:00
parent 17fbc6981d
commit b1e2080a1d

View File

@ -75,7 +75,7 @@ public class BackgroundMode extends CordovaPlugin {
@Override
public void onServiceDisconnected(ComponentName name) {
// Nothing to do here
fireEvent(Event.FAILURE, "service disconnected");
}
};