summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2018-09-13 10:20:12 -0700
committer Felipe Leme <felipeal@google.com> 2018-09-14 10:03:30 -0700
commitdf0cefab6bcc9f938eda0c463b6d8faceaa5e11d (patch)
treee774154eafc655a44e9c6a9a5905b72b17ebd2c8
parent3667b7122557ef15fcacf267133bdd3eae4c0737 (diff)
Clarified that some autofill interfaces can only be implemented by the system.
Test: mmm -j frameworks/base/:doc-comment-check-docs Fixes: 113323194 Change-Id: Ic0bea0e16fca0ce4c67d36f5611587843d7aad9f (cherry picked from commit d5225e13d043a2d9e0cd0cfe8b584f18a4a2ae17)
-rw-r--r--core/java/android/service/autofill/Sanitizer.java3
-rw-r--r--core/java/android/service/autofill/Transformation.java3
2 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/service/autofill/Sanitizer.java b/core/java/android/service/autofill/Sanitizer.java
index 38757ac7408b..8a1310de6e32 100644
--- a/core/java/android/service/autofill/Sanitizer.java
+++ b/core/java/android/service/autofill/Sanitizer.java
@@ -21,6 +21,9 @@ package android.service.autofill;
* <p>Typically used to avoid displaying the save UI for values that are autofilled but reformatted
* by the app&mdash;for example, if the autofill service sends a credit card number
* value as "004815162342108" and the app automatically changes it to "0048 1516 2342 108".
+ *
+ * <p><b>Note:</b> This interface is not meant to be implemented by app developers; only
+ * implementations provided by the Android System can be used in other Autofill APIs.
*/
public interface Sanitizer {
}
diff --git a/core/java/android/service/autofill/Transformation.java b/core/java/android/service/autofill/Transformation.java
index aa8bc9b9500f..de43955e2dc1 100644
--- a/core/java/android/service/autofill/Transformation.java
+++ b/core/java/android/service/autofill/Transformation.java
@@ -20,6 +20,9 @@ package android.service.autofill;
* template} at runtime, using the values of fields contained in the screen.
*
* <p>Typically used by {@link CustomDescription} to provide a customized autofill save UI.
+ *
+ * <p><b>Note:</b> This interface is not meant to be implemented by app developers; only
+ * implementations provided by the Android System can be used in other Autofill APIs.
*/
public interface Transformation {
}