summaryrefslogtreecommitdiff
path: root/core/java/android/view/ViewStructure.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 /core/java/android/view/ViewStructure.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 'core/java/android/view/ViewStructure.java')
-rw-r--r--core/java/android/view/ViewStructure.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/view/ViewStructure.java b/core/java/android/view/ViewStructure.java
index f5aa97a88608..8b3fb2e9e751 100644
--- a/core/java/android/view/ViewStructure.java
+++ b/core/java/android/view/ViewStructure.java
@@ -18,6 +18,7 @@ package android.view;
import android.annotation.NonNull;
import android.annotation.Nullable;
+import android.annotation.SuppressLint;
import android.graphics.Matrix;
import android.graphics.Rect;
import android.os.Bundle;
@@ -377,7 +378,8 @@ public abstract class ViewStructure {
* <p>Should only be set when the node is used for Autofill or Content Capture purposes - it
* will be ignored when used for Assist.
*/
- public void setOnReceiveContentMimeTypes(@Nullable String[] mimeTypes) {}
+ public void setOnReceiveContentMimeTypes(
+ @SuppressLint("NullableCollection") @Nullable String[] mimeTypes) {}
/**
* Sets the {@link android.text.InputType} bits of this node.