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

Commit 575523f2 authored by Hugo Benichi's avatar Hugo Benichi Committed by android-build-merger
Browse files

Merge "Add BitUtils bit packing methods (Connectivity metrics: add transports...

Merge "Add BitUtils bit packing methods (Connectivity metrics: add transports pretty printing)" am: 10b5024d am: 23d41ee6
am: 876ebaa8

Change-Id: I0dfcea2b92287115c385f1b7678034f643d5daba
parents 9f17850a 876ebaa8
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -432,6 +432,15 @@ public final class NetworkCapabilities implements Parcelable {
        "WIFI_AWARE"
    };

    private static final String[] TRANSPORT_NAMES = {
        "CELLULAR",
        "WIFI",
        "BLUETOOTH",
        "ETHERNET",
        "VPN",
        "WIFI_AWARE"
    };

    /**
     * Adds the given transport type to this {@code NetworkCapability} instance.
     * Multiple transports may be applied sequentially.  Note that when searching