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

Commit d5ab2797 authored by David Su's avatar David Su
Browse files

Update WifiInfo#getSSID() doc to refer to UNKNOWN_SSID

Use newly defined constant
WifiManager#UNKNOWN_SSID instead of a
raw string in the API doc.

Bug: 145745815
Test: compiles
Change-Id: If3ec88706275aedb66c7bdfb70b1a3a9109e1a4c
parent ddd7be3a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -449,9 +449,8 @@ public class WifiInfo implements Parcelable {
     * <p>
     * If the SSID can be decoded as UTF-8, it will be returned surrounded by double
     * quotation marks. Otherwise, it is returned as a string of hex digits.
     * The SSID may be
     * <lt>&lt;unknown ssid&gt;, if there is no network currently connected or if the caller has
     * insufficient permissions to access the SSID.<lt>
     * The SSID may be {@link WifiManager#UNKNOWN_SSID}, if there is no network currently connected
     * or if the caller has insufficient permissions to access the SSID.
     * </p>
     * <p>
     * Prior to {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1}, this method