From b9f5ac9b9cfc27f59ba6b19325da4b054a9b2777 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 10 Mar 2024 21:30:04 +0530 Subject: fix: remove cleartext check from StrictMode Apparently this is tripping up SSHJ. Probably fixes #2580 Signed-off-by: Harsh Shandilya --- app/src/main/java/app/passwordstore/Application.kt | 1 - 1 file changed, 1 deletion(-) (limited to 'app/src') diff --git a/app/src/main/java/app/passwordstore/Application.kt b/app/src/main/java/app/passwordstore/Application.kt index b685ebb7..b2bfa2cc 100644 --- a/app/src/main/java/app/passwordstore/Application.kt +++ b/app/src/main/java/app/passwordstore/Application.kt @@ -81,7 +81,6 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere val builder = StrictMode.VmPolicy.Builder() .detectActivityLeaks() - .detectCleartextNetwork() .detectFileUriExposure() .detectLeakedClosableObjects() .detectLeakedRegistrationObjects() -- cgit v1.2.3