From dd896a24e4558e5098f540087a6af411f215437d Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Mon, 18 Sep 2017 16:37:30 -0700 Subject: 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 --- wifi/java/android/net/wifi/WifiManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 9c8ea88c8c86..b08b4b7c71b6 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -967,8 +967,7 @@ public class WifiManager { *
  • allowedGroupCiphers
  • * * @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 getConfiguredNetworks() { try { -- cgit v1.2.3-59-g8ed1b