Dan Ballard pushed to branch tor-browser-140.4.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/HomeActivity.kt
    ... ... @@ -1583,6 +1583,8 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorAn
    1583 1583
         }
    
    1584 1584
     
    
    1585 1585
         fun shutDown() : Nothing {
    
    1586
    +        // If we don't manually stop the service, the persistent "close tabs" notification sometimes does not clear
    
    1587
    +        applicationContext.stopService(Intent(applicationContext, PrivateNotificationService::class.java))
    
    1586 1588
             finishAndRemoveTask()
    
    1587 1589
             exitProcess(0)
    
    1588 1590
         }