fix: remove cleartext check from StrictMode

Apparently this is tripping up SSHJ.

Probably fixes #2580

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2024-03-10 21:30:04 +05:30 committed by GitHub
parent 0a8ee43eae
commit b9f5ac9b9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,7 +81,6 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere
val builder =
StrictMode.VmPolicy.Builder()
.detectActivityLeaks()
.detectCleartextNetwork()
.detectFileUriExposure()
.detectLeakedClosableObjects()
.detectLeakedRegistrationObjects()