Skip to content

Commit

Permalink
Code review
Browse files Browse the repository at this point in the history
Signed-off-by: Rafal Augustyniak <[email protected]>
  • Loading branch information
Augustyniak committed Oct 4, 2022
1 parent 93341e1 commit 69cdc80
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ private void handleProxyChange(final Intent intent) {

private ProxyInfo extractProxyInfo(final Intent intent) {
ProxyInfo info = connectivityManager.getDefaultProxy();
if (info == null) {
return null;
}

// If a proxy is configured using the PAC file use
// Android's injected localhost HTTP proxy.
Expand Down

0 comments on commit 69cdc80

Please sign in to comment.