From 7d7afd474e7c3edb55b898641267e1c11c50486b Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 20 May 2020 22:14:25 -0400 Subject: [PATCH] Fixed #433 --- app/src/main/AndroidManifest.xml | 1 - app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0c1e1f3ed8..6018bb9638 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -44,7 +44,6 @@ diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt index ee258f7fc0..1177cffbc5 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt @@ -132,7 +132,7 @@ open class MainActivity : BaseActivity(), DownloadServiceListener { super.onCreate(savedInstanceState) // Do not let the launcher create a new activity http://stackoverflow.com/questions/16283079 - if (!isTaskRoot) { + if (!isTaskRoot && this !is SearchActivity) { finish() return }