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

Commit 8d411d94 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Automerger Merge Worker
Browse files

Set the NetworkInfo subtype to 0. am: a40ff70c am: 4034ddfa

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12246826

Change-Id: I7f2ad14c428043cd0ee7ec8e0e3ea608e1ce4985
parents da629160 4034ddfa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -354,8 +354,7 @@ public abstract class NetworkAgent {
    private static NetworkInfo getLegacyNetworkInfo(final NetworkAgentConfig config) {
        // The subtype can be changed with (TODO) setLegacySubtype, but it starts
        // with the type and an empty description.
        final NetworkInfo ni = new NetworkInfo(config.legacyType, config.legacyType,
                config.legacyTypeName, "");
        final NetworkInfo ni = new NetworkInfo(config.legacyType, 0, config.legacyTypeName, "");
        ni.setIsAvailable(true);
        ni.setExtraInfo(config.getLegacyExtraInfo());
        return ni;