Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Bug 1880150 - Do not wait for attribution before dismissing splash sc…
Browse files Browse the repository at this point in the history
…reen
  • Loading branch information
rocketsroger committed Feb 13, 2024
1 parent 9df75c1 commit 4d618f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,8 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity {
var maxDurationReached = false
val delay = FxNimbus.features.splashScreen.value().maximumDurationMs.toLong()
splashScreen.setKeepOnScreenCondition {
val dataFetched = components.settings.utmParamsKnown &&
components.settings.nimbusExperimentsFetched
val dataFetched = components.settings.nimbusExperimentsFetched

val keepOnScreen = !maxDurationReached && !dataFetched
if (!keepOnScreen) {
SplashScreen.firstLaunchExtended.record(
Expand Down

0 comments on commit 4d618f3

Please sign in to comment.