diff --git a/android/app/src/main/java/com/zulipmobile/MainActivity.kt b/android/app/src/main/java/com/zulipmobile/MainActivity.kt index 9dca86022e9..3646852f451 100644 --- a/android/app/src/main/java/com/zulipmobile/MainActivity.kt +++ b/android/app/src/main/java/com/zulipmobile/MainActivity.kt @@ -43,6 +43,11 @@ open class MainActivity : ReactActivity() { } private fun handleSend(intent: Intent) { + // Intent is reused after quitting, skip it. + if ((getIntent().flags and Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY) != 0) { + return; + } + val params: WritableMap = try { getParamsFromIntent(intent) } catch (e: ShareParamsParseException) {