From b1e2080a1d333e33692a0a16c5a121a1005c2114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= Date: Fri, 27 Jan 2017 16:50:20 +0100 Subject: [PATCH] Fire failure event on service disconnected --- src/android/BackgroundMode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/BackgroundMode.java b/src/android/BackgroundMode.java index a57cfaf..653f915 100644 --- a/src/android/BackgroundMode.java +++ b/src/android/BackgroundMode.java @@ -75,7 +75,7 @@ public class BackgroundMode extends CordovaPlugin { @Override public void onServiceDisconnected(ComponentName name) { - // Nothing to do here + fireEvent(Event.FAILURE, "service disconnected"); } };