aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-06-04 20:56:45 +0200
committerChristian Schneppe <christian@pix-art.de>2018-06-04 20:56:45 +0200
commit23dab500cbecb185be0f361d839a4b8f66114144 (patch)
tree411e5f8f07b85af4102f6c182d1cfcf8245dce13 /src/main/java
parent873e1f31b5133be5d6331ccb940287a5e58c0160 (diff)
catch more exceptions in scheduleWakeUpCall
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/pixart/messenger/services/XmppConnectionService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
index cf3dd7462..2556138e8 100644
--- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
+++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
@@ -1219,6 +1219,8 @@ public class XmppConnectionService extends Service {
alarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, timeToWake, pendingIntent);
} catch (RuntimeException e) {
Log.e(Config.LOGTAG, "unable to schedule alarm for ping", e);
+ } catch (Exception e) {
+ Log.e(Config.LOGTAG, "unable to schedule alarm for ping", e);
}
}