morgan pushed to branch tor-browser-140.1.0esr-15.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
88b8f52c
by clairehurst at 2025-08-05T12:53:44+00:00
-
b4ac359a
by Dan Ballard at 2025-08-05T12:53:44+00:00
2 changed files:
- mobile/android/android-components/components/feature/privatemode/src/main/java/mozilla/components/feature/privatemode/notification/PrivateNotificationFeature.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt
Changes:
... | ... | @@ -44,7 +44,6 @@ class PrivateNotificationFeature<T : AbstractPrivateNotificationService>( |
44 | 44 | }
|
45 | 45 | |
46 | 46 | override fun stop() {
|
47 | - applicationContext.stopService(Intent(applicationContext, notificationServiceClass.java))
|
|
48 | 47 | scope?.cancel()
|
49 | 48 | }
|
50 | 49 | } |
... | ... | @@ -821,6 +821,10 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorAn |
821 | 821 | |
822 | 822 | super.onDestroy()
|
823 | 823 | |
824 | + if (isFinishing) {
|
|
825 | + exitProcess(0)
|
|
826 | + }
|
|
827 | + |
|
824 | 828 | // Diagnostic breadcrumb for "Display already aquired" crash:
|
825 | 829 | // https://github.com/mozilla-mobile/android-components/issues/7960
|
826 | 830 | breadcrumb(
|