summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2017-04-21 08:56:04 -0700
committerPhilip P. Moltmann <moltmann@google.com>2017-04-24 16:01:12 -0700
commit85d1c2d2905362b984563d9b5e8332010c272fc5 (patch)
tree5bd145b52ffe51645007ddeba4cac140b9912e3b /core/java/android/widget/TextView.java
parentd8f13bbc3d6728cc068dcd65777afcd66c04b821 (diff)
Minor fixes on Autofill Framework:
- Removed default implementation of onProvideAutofillVirtualStructure() that was using accessibility API (it's useless because without the View calling AutofillManager.notifyViewEntered(), it would never be triggered). - Fixed obsolete TODOs. - Removed obsolete service class name constant. - Removed unused debug constant. Fixes: 37078783 Fixes: 33197203 Bug: 33802548 Bug: 35956626 Test: CtsAutoFillServiceTestCases pass Merged-In: I834d34b8af8bf0d781dc7e0ffcd6e600bfa2d183 Change-Id: I834d34b8af8bf0d781dc7e0ffcd6e600bfa2d183
Diffstat (limited to 'core/java/android/widget/TextView.java')
-rw-r--r--core/java/android/widget/TextView.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java
index f42d6c81f444..399cfac441a9 100644
--- a/core/java/android/widget/TextView.java
+++ b/core/java/android/widget/TextView.java
@@ -10170,8 +10170,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
structure.setInputType(getInputType());
}
- // TODO(b/33197203): add unit/CTS tests for autofill methods
-
boolean canRequestAutofill() {
final AutofillManager afm = mContext.getSystemService(AutofillManager.class);
if (afm != null) {