Loading mobile/android/fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt +1 −5 Original line number Diff line number Diff line Loading @@ -176,8 +176,6 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorIn private var isToolbarInflated = false private var isBeingRecreated = false private val webExtensionPopupObserver by lazy { WebExtensionPopupObserver(components.core.store, ::openPopup) } Loading Loading @@ -652,7 +650,7 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorIn stopMediaSession() } if (!isBeingRecreated && !(application as FenixApplication).isTerminating()) { if (isFinishing && !(application as FenixApplication).isTerminating()) { // We assume the Activity is being destroyed because the user // swiped away the app on the Recent screen. When this happens, // we assume the user expects the entire Application is destroyed Loading Loading @@ -686,8 +684,6 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorIn message = "recreate()", ) isBeingRecreated = true super.recreate() } Loading Loading
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt +1 −5 Original line number Diff line number Diff line Loading @@ -176,8 +176,6 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorIn private var isToolbarInflated = false private var isBeingRecreated = false private val webExtensionPopupObserver by lazy { WebExtensionPopupObserver(components.core.store, ::openPopup) } Loading Loading @@ -652,7 +650,7 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorIn stopMediaSession() } if (!isBeingRecreated && !(application as FenixApplication).isTerminating()) { if (isFinishing && !(application as FenixApplication).isTerminating()) { // We assume the Activity is being destroyed because the user // swiped away the app on the Recent screen. When this happens, // we assume the user expects the entire Application is destroyed Loading Loading @@ -686,8 +684,6 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorIn message = "recreate()", ) isBeingRecreated = true super.recreate() } Loading