Files
IronFox/patches/fenix-enable-encrypted-storage.patch
celenity ceeae87d00 feat: Patch formatting
Applies consistent formatting and naming to patches

Signed-off-by: celenity <celenity@celenity.dev>
2026-07-06 00:50:48 +00:00

24 lines
1.2 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: celenity <celenity@celenity.dev>
Date: Sun, 05 Jul 2026 20:19:20 +0000
Subject: [PATCH] Fenix - Enable encrypted storage
Enables encrypted storage via Android's Keystore system (https://developer.android.com/privacy-and-security/keystore) for Firefox account state.
Signed-off-by: celenity <celenity@celenity.dev>
---
diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/BackgroundServices.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/BackgroundServices.kt
index 6ed5a8715f84..a9f60b19cd2a 100644
--- a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/BackgroundServices.kt
+++ b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/BackgroundServices.kt
@@ -112,7 +112,7 @@ class BackgroundServices(
// Enable encryption for account state on supported API levels (23+).
// Just on Nightly and local builds for now.
// Enabling this for all channels is tracked in https://github.com/mozilla-mobile/fenix/issues/6704
- secureStateAtRest = Config.channel.isNightlyOrDebug,
+ secureStateAtRest = true,
)
@VisibleForTesting
--