diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-06-04 20:56:45 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-06-04 20:56:45 +0200 |
commit | 23dab500cbecb185be0f361d839a4b8f66114144 (patch) | |
tree | 411e5f8f07b85af4102f6c182d1cfcf8245dce13 /src/main/java/de/pixart/messenger | |
parent | 873e1f31b5133be5d6331ccb940287a5e58c0160 (diff) |
catch more exceptions in scheduleWakeUpCall
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 2 |
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); } } |