diff options
| author | Felipe Leme <felipeal@google.com> | 2017-04-25 15:54:06 -0700 |
|---|---|---|
| committer | Felipe Leme <felipeal@google.com> | 2017-04-26 12:07:17 -0700 |
| commit | bb81092a31649b4e1031e24d68958180f5d4024e (patch) | |
| tree | 72fec4c5704410af3a64cb45a9d398c16605f7f7 /core/java | |
| parent | 5f7979222d072aa580717c2d1ab0d6eb0f33f912 (diff) | |
Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE.
Also removed obsolete 'cmd autofill save'
Bug: 2153814
Test: manual verification
Change-Id: I082e6bb098e9be5d9e26d0941efcf6f28ab01e1d
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/View.java | 2 | ||||
| -rw-r--r-- | core/java/android/view/autofill/AutofillManager.java | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 64489b40a142..34aecdc88bac 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -1159,7 +1159,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, public static final int IMPORTANT_FOR_AUTOFILL_YES = 0x1; /** - * The view is not important for autofill, and its children (if any) will be traversed. + * The view is not important for autofill, but its children (if any) will be traversed. */ public static final int IMPORTANT_FOR_AUTOFILL_NO = 0x2; diff --git a/core/java/android/view/autofill/AutofillManager.java b/core/java/android/view/autofill/AutofillManager.java index caf188d510f8..6e02a844c022 100644 --- a/core/java/android/view/autofill/AutofillManager.java +++ b/core/java/android/view/autofill/AutofillManager.java @@ -1081,7 +1081,8 @@ public final class AutofillManager { return view; } - private boolean hasAutofillFeature() { + /** @hide */ + public boolean hasAutofillFeature() { return mService != null; } |
