tor-browser

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

commit 7dee0dc98b3c85e6877f966ad7051e23d1d9c74b
parent 46ff6b41eacf1abb3b417dc1de3905c4cb66a7a2
Author: Alexandru Marc <amarc@mozilla.com>
Date:   Wed,  7 Jan 2026 02:15:57 +0200

Revert "Bug 2007012 - Remove obsolete JNA version constraint from Fenix and Focus r=nalexander,android-reviewers" for causing Bug 1991523

This reverts commit 7e821612ad61fa50a7afcfa25b644366aea1b630.

Diffstat:
Mmobile/android/fenix/app/build.gradle | 9+++++++++
Mmobile/android/focus-android/app/build.gradle | 9+++++++++
2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/mobile/android/fenix/app/build.gradle b/mobile/android/fenix/app/build.gradle @@ -542,6 +542,15 @@ nimbus { } dependencies { + // We pick up JNA transitively by way of Glean, which is currently on version 5.14.0. + // However, we need to force version 5.17.0 due to Google Play's 16KB page size requirement. + // JNA 5.15.0+ crashes on Android <7, however, so it can't be bumped in Glean at this time. + // Therefore, manually force the use of version 5.17.0 at the app level since we only support + // running on Android 8+ now anyway. This can be removed once Glean updates. + constraints { + implementation(libs.jna) + } + implementation project(':components:browser-engine-gecko') implementation project(':components:compose-awesomebar') implementation project(':components:compose-base') diff --git a/mobile/android/focus-android/app/build.gradle b/mobile/android/focus-android/app/build.gradle @@ -243,6 +243,15 @@ nimbus { } dependencies { + // We pick up JNA transitively by way of Glean, which is currently on version 5.14.0. + // However, we need to force version 5.17.0 due to Google Play's 16KB page size requirement. + // JNA 5.15.0+ crashes on Android <7, however, so it can't be bumped in Glean at this time. + // Therefore, manually force the use of version 5.17.0 at the app level since we only support + // running on Android 8+ now anyway. This can be removed once Glean updates. + constraints { + implementation(libs.jna) + } + implementation project(':components:browser-domains') implementation project(':components:browser-engine-gecko') implementation project(':components:browser-errorpages')