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

Commit 584f9747 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

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

Merge "Merge "Add BitUtils bit packing methods (Connectivity metrics: add transports pretty printing)" am: 10b5024d am: 23d41ee6 am: 876ebaa8" into oc-dev-plus-aosp
parents 51848baf 575523f2
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