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

Commit c2dfbfb1 authored by lucaslin's avatar lucaslin
Browse files

Use public API Network#getNetId() to get netid

Network class will be a part of mainline module, external callers
cannot call its hidden constant. Use public API - getNetId() to
get netid instead.

Bug: 172183305
Test: atest FrameworksTelephonyTests
Change-Id: I7dc471b49d95c1800d990a2b85863971b88024d3
parent a849c283
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ public class DcNetworkAgent extends NetworkAgent {
                dc.getNetworkCapabilities(), dc.getLinkProperties(), score, config,
                networkProvider);
        register();
        mId = getNetwork().netId;
        mId = getNetwork().getNetId();
        mTag = "DcNetworkAgent" + "-" + mId;
        mPhone = phone;
        mNetworkCapabilities = dc.getNetworkCapabilities();