Add NetworkCapabilities#getSSID to SystemApi

setSSID was added to the API, so it makes sense to have getSSID be part
of the API as well.

Test: m
Bug: 139268426
Change-Id: I6fa9c513ce4fb8ce1e3530776ce8fd5b2e77055e
This commit is contained in:
Remi NGUYEN VAN
2020-01-22 22:52:53 +09:00
parent f78c964538
commit ca455afb4d

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;
}