Merge "Add NetworkCapabilities#getSSID to SystemApi"

am: 385afc999e

Change-Id: I56b30b2719d30660e2efb32a01ab0ce4f7b30236
This commit is contained in:
Remi NGUYEN VAN
2020-01-22 07:30:49 -08:00
committed by android-build-merger
2 changed files with 2 additions and 0 deletions

View File

@@ -4501,6 +4501,7 @@ package android.net {
public final class NetworkCapabilities implements android.os.Parcelable {
method public boolean deduceRestrictedCapability();
method @Nullable public String getSSID();
method @NonNull public int[] getTransportTypes();
method public boolean satisfiedByNetworkCapabilities(@Nullable android.net.NetworkCapabilities);
method @NonNull public android.net.NetworkCapabilities setSSID(@Nullable String);

View File

@@ -1283,6 +1283,7 @@ public final class NetworkCapabilities implements Parcelable {
* Gets the SSID of this network, or null if none or unknown.
* @hide
*/
@SystemApi
public @Nullable String getSSID() {
return mSSID;
}