API: Suppress existing NullableCollections lints

Bug: 152525509
Bug: 154763999
Test: make checkapi
Change-Id: Iecd0927e6be5496b2fbd1a49396db5439257ffe4
This commit is contained in:
Adrian Roos
2021-01-29 12:15:00 +01:00
parent d4caba4daf
commit 6a6aa5e23d
8 changed files with 19 additions and 4 deletions

View File

@@ -1445,6 +1445,7 @@ public class LocationManager {
@TestApi
@RequiresPermission(Manifest.permission.READ_DEVICE_CONFIG)
@Nullable
@SuppressWarnings("NullableCollection")
public List<String> getProviderPackages(@NonNull String provider) {
try {
return mService.getProviderPackages(provider);