From aec98da9ebb19f9c6359e0af5a3795e73d44ea4a Mon Sep 17 00:00:00 2001 From: Ricardo Loo Date: Sat, 1 Jul 2017 11:19:03 -0700 Subject: [PATCH] docs: Updated #ACTION_REQUEST_SET_AUTOFILL_SERVICE description Making clear that `ACTION_REQUEST_SET_AUTOFILL_SERVICE` is an activity action, not a broadcast action. Test: Ran `make ds-docs -j16 and staged the change at http://go/dac-stage/reference/android/provider/Settings.html#ACTION_REQUEST_SET_AUTOFILL_SERVICE BUG: 62470123 --- core/java/android/provider/Settings.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 9e74c8e21e8c8..b7514fd6df2c5 100755 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -1422,10 +1422,10 @@ public final class Settings { * to the caller package. * *

- * NOTE: applications should call + * NOTE: Applications should call * {@link android.view.autofill.AutofillManager#hasEnabledAutofillServices()} and - * {@link android.view.autofill.AutofillManager#isAutofillSupported()} first, and only - * broadcast this intent if they return {@code false} and {@code true} respectively. + * {@link android.view.autofill.AutofillManager#isAutofillSupported()}, and only use this action + * to start an activity if they return {@code false} and {@code true} respectively. */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_REQUEST_SET_AUTOFILL_SERVICE =