Commit 88d16eea authored by clairehurst's avatar clairehurst 🌱 Committed by Pier Angelo Vendrame
Browse files

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

parent d3949707
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)
    }