summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2019-04-10 16:19:56 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-04-10 16:19:56 +0000
commitbef3d76b16d5b5a5e8ba2c6dc48fa55dcb8b55ea (patch)
tree73469aed3bed5fed370194842cd89c5f065f8d7d
parent9214de571f70e25164d884bd331875c4bdb228d7 (diff)
parentb079576fad5eb5781f2c3ea951cf764471047837 (diff)
Merge "Clarified ContentCaptureCondition constructor." into qt-dev
-rw-r--r--core/java/android/view/contentcapture/ContentCaptureCondition.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/view/contentcapture/ContentCaptureCondition.java b/core/java/android/view/contentcapture/ContentCaptureCondition.java
index cf171d738524..6f9d4d30909f 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);