From cd9df91a83c61c58e9f4bd8686e33d1d97b67267 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Mon, 15 Jun 2020 14:52:54 +0200 Subject: [PATCH] Revert "[TMP] Completely kill app instead of activity only" This reverts commit 2cba0430e69373a8a400f1f48cdcb572daa690cd. --- .../java/im/vector/riotx/core/platform/VectorBaseActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/riotx/core/platform/VectorBaseActivity.kt b/vector/src/main/java/im/vector/riotx/core/platform/VectorBaseActivity.kt index e041741ffe..770a63a3fa 100644 --- a/vector/src/main/java/im/vector/riotx/core/platform/VectorBaseActivity.kt +++ b/vector/src/main/java/im/vector/riotx/core/platform/VectorBaseActivity.kt @@ -188,8 +188,7 @@ abstract class VectorBaseActivity : AppCompatActivity(), HasScreenInjector { if (!it.hasBeenHandled) { // Recreate the Activity because configuration has changed startActivity(intent) - //finish() - Runtime.getRuntime().exit(0) + finish() } })