summaryrefslogtreecommitdiff
path: root/core/java/android/content/ContentCaptureOptions.java
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2021-02-04 15:53:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-04 15:53:34 +0000
commit60f3d5cee463ca09aa969fa9ab3cd087764e71f5 (patch)
tree521c8026259b354bae25ec4c733633383f5b4942 /core/java/android/content/ContentCaptureOptions.java
parent5f36d6f70a5cfeb598647757f9a16c6e6b50daa5 (diff)
parentf3d73871240fff4936e16e2dad21a45a10436cb9 (diff)
Merge changes from topic "nullablecollection"
* changes: API: Suppress existing NullableCollections lints (TaskOrganizer) API: Suppress existing NullableCollections lints
Diffstat (limited to 'core/java/android/content/ContentCaptureOptions.java')
-rw-r--r--core/java/android/content/ContentCaptureOptions.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/content/ContentCaptureOptions.java b/core/java/android/content/ContentCaptureOptions.java
index ef49e029db13..c296bb52e73d 100644
--- a/core/java/android/content/ContentCaptureOptions.java
+++ b/core/java/android/content/ContentCaptureOptions.java
@@ -17,6 +17,7 @@ package android.content;
import android.annotation.NonNull;
import android.annotation.Nullable;
+import android.annotation.SuppressLint;
import android.annotation.TestApi;
import android.app.ActivityThread;
import android.os.Parcel;
@@ -73,6 +74,7 @@ public final class ContentCaptureOptions implements Parcelable {
* for all acitivites in the package).
*/
@Nullable
+ @SuppressLint("NullableCollection")
public final ArraySet<ComponentName> whitelistedComponents;
/**
@@ -96,6 +98,7 @@ public final class ContentCaptureOptions implements Parcelable {
*/
public ContentCaptureOptions(int loggingLevel, int maxBufferSize, int idleFlushingFrequencyMs,
int textChangeFlushingFrequencyMs, int logHistorySize,
+ @SuppressLint("NullableCollection")
@Nullable ArraySet<ComponentName> whitelistedComponents) {
this(/* lite= */ false, loggingLevel, maxBufferSize, idleFlushingFrequencyMs,
textChangeFlushingFrequencyMs, logHistorySize, whitelistedComponents);