From 754897ea9ba559a415aaca8768c7b35b17f0b78d Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Fri, 1 Mar 2019 21:06:48 +0100 Subject: [PATCH] Fix crash on Android 9 when replying from notification (#1091) --- .../keylesspalace/tusky/receiver/SendStatusBroadcastReceiver.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/keylesspalace/tusky/receiver/SendStatusBroadcastReceiver.kt b/app/src/main/java/com/keylesspalace/tusky/receiver/SendStatusBroadcastReceiver.kt index bb95d0ba5..9eea04d37 100644 --- a/app/src/main/java/com/keylesspalace/tusky/receiver/SendStatusBroadcastReceiver.kt +++ b/app/src/main/java/com/keylesspalace/tusky/receiver/SendStatusBroadcastReceiver.kt @@ -133,6 +133,8 @@ class SendStatusBroadcastReceiver : BroadcastReceiver() { .replyingStatusContent(citedText) .build(context) + composeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) + context.startActivity(composeIntent) } }