Dan Ballard pushed to branch tor-browser-140.3.0esr-15.0-1 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
    ... ... @@ -2351,11 +2351,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
    2351 2351
          * Indicates if the Set as default Browser prompt should be displayed to the user.
    
    2352 2352
          */
    
    2353 2353
         val shouldShowSetAsDefaultPrompt: Boolean
    
    2354
    -        get() =
    
    2355
    -            (System.currentTimeMillis() - lastSetAsDefaultPromptShownTimeInMillis) >
    
    2356
    -                DAYS_BETWEEN_DEFAULT_BROWSER_PROMPTS * ONE_DAY_MS &&
    
    2357
    -                numberOfSetAsDefaultPromptShownTimes < MAX_NUMBER_OF_DEFAULT_BROWSER_PROMPTS &&
    
    2358
    -                coldStartsBetweenSetAsDefaultPrompts >= APP_COLD_STARTS_TO_SHOW_DEFAULT_PROMPT
    
    2354
    +        get() = false // bug_43976 Remove default browser prompt
    
    2359 2355
     
    
    2360 2356
         /**
    
    2361 2357
          * Updates the relevant settings when the "Set as Default Browser" prompt is shown.