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

Commit aa44c14f authored by Shuo Qian's avatar Shuo Qian Committed by sqian
Browse files

Replace ProxyInfo with buildDirectProxy for Mainline

Test: Treehugger; no function change
Bug: 147017757
Change-Id: Iee6464d30b1f31a5beca0251d66397f5a9a4f215
parent a9cadb25
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2722,7 +2722,8 @@ public class DcTracker extends Handler {
                        if (port == -1) {
                            port = 8080;
                        }
                        ProxyInfo proxy = new ProxyInfo(apn.getProxyAddressAsString(), port, null);
                        ProxyInfo proxy = ProxyInfo.buildDirectProxy(
                                apn.getProxyAddressAsString(), port);
                        dataConnection.setLinkPropertiesHttpProxy(proxy);
                    } catch (NumberFormatException e) {
                        loge("onDataSetupComplete: NumberFormatException making ProxyProperties ("