From 66688031cd5ddcddead3876d4e49beae3b7e51a8 Mon Sep 17 00:00:00 2001 From: Denozordec Date: Sat, 10 Oct 2026 09:20:28 +0700 Subject: [PATCH] android: small cleanups - DB close in finally, single profile reload - HomeViewModel closes the profile database in finally blocks and relies on the VPN_PROFILES_CHANGED broadcast instead of reloading twice - READ_EXTERNAL_STORAGE only up to API 32; drop a dead settings flag Co-Authored-By: Claude Opus 5.5 --- .../android/app/src/main/AndroidManifest.xml | 3 +- .../android/ui/compose/HomeViewModel.kt | 33 ++++++++++++++----- .../android/ui/compose/SettingsScreen.kt | 2 -- 3 files changed, 27 insertions(+), 11 deletions(-) diff --git a/src/frontends/android/app/src/main/AndroidManifest.xml b/src/frontends/android/app/src/main/AndroidManifest.xml index db6b85a0a..f8c10d2dd 100644 --- a/src/frontends/android/app/src/main/AndroidManifest.xml +++ b/src/frontends/android/app/src/main/AndroidManifest.xml @@ -39,7 +39,8 @@ - +