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

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

parent 76c1fcff
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1584,6 +1584,8 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorAn
    }

    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()
        exitProcess(0)
    }