Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2907274f authored by Chad Brubaker's avatar Chad Brubaker Committed by android-build-merger
Browse files

Merge "Add null check to getConfigForHostname" am: fe1eac7a

am: 14cf68c2

* commit '14cf68c2':
  Add null check to getConfigForHostname
  Work on issue #25467052: System lagged out
parents a5d3cfa9 14cf68c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ public final class ApplicationConfig {
     */
    public NetworkSecurityConfig getConfigForHostname(String hostname) {
        ensureInitialized();
        if (hostname.isEmpty() || mConfigs == null) {
        if (hostname == null || hostname.isEmpty() || mConfigs == null) {
            return mDefaultConfig;
        }
        if (hostname.charAt(0) ==  '.') {