aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-06-22 22:22:50 +0200
committerChristian Schneppe <christian@pix-art.de>2016-06-22 22:22:50 +0200
commit6330be2152e56afad4ae9a59da9da0900500ba05 (patch)
tree7097a6cd85d5492640191413959a99f020185bd5
parent2d81d4bd11a79b9c35810e5a3ffca702c66cc908 (diff)
fixed bug on opening notifications
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationActivity.java2
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);
}