From b079576fad5eb5781f2c3ea951cf764471047837 Mon Sep 17 00:00:00 2001 From: Felipe Leme Date: Tue, 9 Apr 2019 17:04:18 -0700 Subject: [PATCH] Clarified ContentCaptureCondition constructor. Fixes: 130248145 Test: m -j frameworks/base/:doc-comment-check-docs Change-Id: Ib3c7b01ccd3ec41ef553a000e69b12d269710a49 --- .../android/view/contentcapture/ContentCaptureCondition.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/java/android/view/contentcapture/ContentCaptureCondition.java b/core/java/android/view/contentcapture/ContentCaptureCondition.java index cf171d7385249..6f9d4d30909f7 100644 --- a/core/java/android/view/contentcapture/ContentCaptureCondition.java +++ b/core/java/android/view/contentcapture/ContentCaptureCondition.java @@ -54,7 +54,9 @@ public final class ContentCaptureCondition implements Parcelable { * * @param locusId id of the condition, as defined by * {@link ContentCaptureContext#getLocusId()}. - * @param flags either {@link ContentCaptureCondition#FLAG_IS_REGEX} or {@code 0}. + * @param flags either {@link ContentCaptureCondition#FLAG_IS_REGEX} (to use a regular + * expression match) or {@code 0} (in which case the {@code LocusId} must be an exact match of + * the {@code LocusId} used in the {@link ContentCaptureContext}). */ public ContentCaptureCondition(@NonNull LocusId locusId, @Flags int flags) { this.mLocusId = Preconditions.checkNotNull(locusId);