OSDN Git Service

docs: Updated isAutofillSupported description.
authorRicardo Loo <rloo@google.com>
Tue, 27 Jun 2017 21:17:33 +0000 (14:17 -0700)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Fri, 30 Jun 2017 04:07:41 +0000 (04:07 +0000)
The description for `AutofillManager.isAutofillSupported` doesn't make
clear that either the device or the user can make autofill unsupported.

Bug: 62604325
Test: Ran 'make ds-docs -j16' and staged content to
go/dac-stage/reference/android/view/autofill/AutofillManager.html#isAutofillSupported()

Change-Id: I298b9f535e23dc3cb54fabed36642523753c13a5
(cherry picked from commit 33d226c95333e40e8b46e173c2483ad6728b5e56)

core/java/android/view/autofill/AutofillManager.java

index 5b04f41..e1e8317 100644 (file)
@@ -741,7 +741,8 @@ public final class AutofillManager {
     }
 
     /**
-     * Returns {@code true} if Autofill is supported for this user.
+     * Returns {@code true} if autofill is supported by the current device and
+     * is supported for this user.
      *
      * <p>Autofill is typically supported, but it could be unsupported in cases like:
      * <ol>