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

Commit b6597ffc authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix a bug where the subtype is not initialized correctly" into rvc-dev...

Merge "Fix a bug where the subtype is not initialized correctly" into rvc-dev am: 7844460d am: 76e7d2c9 am: 856ed31c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/12201789

Change-Id: Icb9b700eaa5d144d161b20e0fa951655fcdec17e
parents 49cc0e0c 856ed31c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -96,6 +96,7 @@ public class DcNetworkAgent extends NetworkAgent {
        mTransportType = transportType;
        mTransportType = transportType;
        mDataConnection = dc;
        mDataConnection = dc;
        mNetworkInfo = new NetworkInfo(ni);
        mNetworkInfo = new NetworkInfo(ni);
        setLegacySubtype(ni.getSubtype(), ni.getSubtypeName());
        setLegacyExtraInfo(ni.getExtraInfo());
        setLegacyExtraInfo(ni.getExtraInfo());
        if (dc.getLinkProperties() != null) {
        if (dc.getLinkProperties() != null) {
            checkDuplicateInterface(mId, dc.getLinkProperties().getInterfaceName());
            checkDuplicateInterface(mId, dc.getLinkProperties().getInterfaceName());