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

Commit dd896a24 authored by Roshan Pius's avatar Roshan Pius
Browse files

WifiManager: Change documentation of #getConfiguredNetworks

This can never return null now. Change the documentation and add the
annotation.

Bug: 65853363
Test: Compiles
Change-Id: I28fb4c2de3036cf6f97aa473e95cfb89ce2569a2
parent 18d501ac
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -967,8 +967,7 @@ public class WifiManager {
     * <li>allowedGroupCiphers</li>
     * </ul>
     * @return a list of network configurations in the form of a list
     * of {@link WifiConfiguration} objects. Upon failure to fetch or
     * when Wi-Fi is turned off, it can be null.
     * of {@link WifiConfiguration} objects.
     */
    public List<WifiConfiguration> getConfiguredNetworks() {
        try {