1
0
Fork 1

Actually bother to init resolver

Upstream must have removed this...

(cherry picked from commit 1646feec843010cf16a6f7d2316f59856a639cd5)
This commit is contained in:
Stephen Paul Weber 2024-10-30 10:45:00 -05:00 committed by Arne
parent e4317cc3e4
commit 8af4ea8619

View file

@ -1492,6 +1492,7 @@ public class XmppConnectionService extends Service {
} catch (Throwable throwable) {
Log.e(Config.LOGTAG, "unable to initialize security provider", throwable);
}
Resolver.init(this);
updateMemorizingTrustManager();
final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024);
final int cacheSize = maxMemory / 8;