diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-06-22 22:22:50 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-06-22 22:22:50 +0200 |
commit | 6330be2152e56afad4ae9a59da9da0900500ba05 (patch) | |
tree | 7097a6cd85d5492640191413959a99f020185bd5 | |
parent | 2d81d4bd11a79b9c35810e5a3ffca702c66cc908 (diff) |
fixed bug on opening notifications
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java index c24946fbd..f403d7389 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java @@ -1325,7 +1325,7 @@ public class ConversationActivity extends XmppActivity Bundle extras = getIntent().getExtras(); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { - if (extras != null) { + if (extras != null && extras.containsKey("FirstStart")) { FirstStartTime = extras.getLong("FirstStart"); Log.d(Config.LOGTAG, "Get first start time from StartUI: " + FirstStartTime); } |