From fbfe223a44c924c36c131eb1514eb1145c82ccb8 Mon Sep 17 00:00:00 2001 From: Kevin Hufnagle Date: Tue, 3 Sep 2019 21:54:29 +0000 Subject: [PATCH] docs: Fixed contradictory info in IntentFilter The docs now (correctly) state that, if an intent filter specifies no actions, then it only matches intents that don't specify/contain an action. Test: make ds-docs -j32 Bug: 140435265 Change-Id: I8931c6540cb22edd15e8caa1be984ca70efcdc96 --- core/java/android/content/IntentFilter.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/java/android/content/IntentFilter.java b/core/java/android/content/IntentFilter.java index 9d523633feb66..099dea29eaf7f 100644 --- a/core/java/android/content/IntentFilter.java +++ b/core/java/android/content/IntentFilter.java @@ -60,9 +60,7 @@ import java.util.Set; * multiple possible matching values (via {@link #addAction}, * {@link #addDataType}, {@link #addDataScheme}, {@link #addDataSchemeSpecificPart}, * {@link #addDataAuthority}, {@link #addDataPath}, and {@link #addCategory}, respectively). - * For actions, the field - * will not be tested if no values have been given (treating it as a wildcard); - * if no data characteristics are specified, however, then the filter will + * For actions, if no data characteristics are specified, then the filter will * only match intents that contain no data. * *

The data characteristic is