From bd22c4a57bc07a23508aa5aca3d4305a3c034484 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Tue, 6 Nov 2018 19:27:25 -0800 Subject: [PATCH] WifiManager: Fix javadocs Bug: 113878056 Test: make docs Change-Id: Ia63e7df59d67def62b189b1bd98c0b21ce36d5f4 --- wifi/java/android/net/wifi/WifiManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index d805bc4b40024..7e4b1c74892cb 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -1454,8 +1454,8 @@ public class WifiManager { *

* When the device decides to connect to one of the provided network suggestions, platform fires * the associated {@code pendingIntent} if - * {@link WifiNetworkSuggestion#isAppInteractionRequired} is {@code true} and the - * provided {@code pendingIntent} is non-null. + * the network was created with {@link WifiNetworkConfigBuilder#setIsAppInteractionRequired()} + * flag set and the provided {@code pendingIntent} is non-null. *

* Registration of a non-null pending intent {@code pendingIntent} requires * {@link android.Manifest.permission#ACCESS_COARSE_LOCATION ACCESS_COARSE_LOCATION} or @@ -1473,8 +1473,8 @@ public class WifiManager { * * @param networkSuggestions List of network suggestions provided by the app. * @param pendingIntent Pending intent to be fired post connection for networks. These will be - * fired only when connecting to a network which has the - * {@link WifiNetworkSuggestion#isAppInteractionRequired} flag set. + * fired only when connecting to a network that was created with + * {@link WifiNetworkConfigBuilder#setIsAppInteractionRequired()} flag set. * Pending intent must hold a foreground service, else will be rejected. * (i.e {@link PendingIntent#isForegroundService()} should return true) * @return true on success, false if any of the suggestions match (See