Verified Commit fbdae168 authored by clairehurst's avatar clairehurst 🌱 Committed by ma1
Browse files

TB 44196: [android] Persistent notification sometimes does not clear

parent 0e3930fe
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1667,6 +1667,8 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, Crash
    }

    fun shutDown() : Nothing {
        // If we don't manually stop the service, the persistent "close tabs" notification sometimes does not clear
        applicationContext.stopService(Intent(applicationContext, PrivateNotificationService::class.java))
        finishAndRemoveTask()
        components.torController.shutdown()
        exitProcess(0)