tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit b4c3d16a32b4df21f6807b8a6933a6c9f91188b0
parent de2f816385fa2c205e0d274e5ce04f464d33135f
Author: clairehurst <clairehurst@torproject.org>
Date:   Tue, 21 Oct 2025 17:09:12 -0600

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

Diffstat:
Mmobile/android/fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt @@ -1584,6 +1584,8 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity { } 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)