aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/services
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-06-25 17:06:20 +0200
committeriNPUTmice <daniel@gultsch.de>2014-06-25 17:06:20 +0200
commitb0a3c717d21ffc0c17aa123c171cce29e01d2884 (patch)
treecace210de18fddfe191700501d14c58f5bfa9783 /src/eu/siacs/conversations/services
parentdfbc42ecd795b8e5138f3dc123cdbbf8bf685209 (diff)
wrap wakelock release with try catch
Diffstat (limited to 'src/eu/siacs/conversations/services')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java
index 6e36c9bcf..f4691fab9 100644
--- a/src/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/eu/siacs/conversations/services/XmppConnectionService.java
@@ -510,7 +510,7 @@ public class XmppConnectionService extends Service {
}
}
if (wakeLock.isHeld()) {
- wakeLock.release();
+ try { wakeLock.release();} catch (RuntimeException re) {}
}
return START_STICKY;
}