summaryrefslogtreecommitdiff
path: root/wifi/java
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2021-01-29 19:15:22 +0100
committerAdrian Roos <roosa@google.com>2021-02-01 14:54:34 +0000
commitd7f33cd6486e8df59fe71f0b4775ebb525637553 (patch)
tree5c5b35364b8cfe26f2f168e478f41dd0d9acc476 /wifi/java
parente148e669b71ad480b3214fbfb8c7a846d1612831 (diff)
API: Suppress existing NullableCollections lints (S edition)
Bug: 152525509 Test: make checkapi Change-Id: Idf96709bf93ef49ca5ad3cdd1f14d06e0d9e09d7 Exempt-From-Owner-Approval: API lint large scale change
Diffstat (limited to 'wifi/java')
-rw-r--r--wifi/java/src/android/net/wifi/nl80211/WifiNl80211Manager.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/wifi/java/src/android/net/wifi/nl80211/WifiNl80211Manager.java b/wifi/java/src/android/net/wifi/nl80211/WifiNl80211Manager.java
index ef2653204af5..c64f4bc605f1 100644
--- a/wifi/java/src/android/net/wifi/nl80211/WifiNl80211Manager.java
+++ b/wifi/java/src/android/net/wifi/nl80211/WifiNl80211Manager.java
@@ -20,6 +20,7 @@ import android.annotation.CallbackExecutor;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
+import android.annotation.SuppressLint;
import android.annotation.SystemApi;
import android.annotation.SystemService;
import android.app.AlarmManager;
@@ -948,8 +949,9 @@ public class WifiNl80211Manager {
* has been set up).
*/
public boolean startScan(@NonNull String ifaceName, @WifiAnnotations.ScanType int scanType,
- @Nullable Set<Integer> freqs, @Nullable List<byte[]> hiddenNetworkSSIDs,
- @Nullable Bundle extraScanningParams) {
+ @SuppressLint("NullableCollection") @Nullable Set<Integer> freqs,
+ @SuppressLint("NullableCollection") @Nullable List<byte[]> hiddenNetworkSSIDs,
+ @SuppressLint("NullableCollection") @Nullable Bundle extraScanningParams) {
IWifiScannerImpl scannerImpl = getScannerImpl(ifaceName);
if (scannerImpl == null) {
Log.e(TAG, "No valid wificond scanner interface handler for iface=" + ifaceName);