summaryrefslogtreecommitdiff
path: root/core/java/android/content/AutofillOptions.java
diff options
context:
space:
mode:
authorJoanne Chung <joannechung@google.com>2019-08-22 15:38:06 +0800
committerJoanne Chung <joannechung@google.com>2019-08-22 17:11:44 +0800
commit482e127ce399f163d64531af149addc403fbd5c3 (patch)
tree6729a9e788d7b0725fe7460d634490ce5c33918e /core/java/android/content/AutofillOptions.java
parentd38b888249e77d5de4c03f2fef1ece4be8272727 (diff)
Remove isAutofillDisabledLocked from test api.
Due to locking characteristics should not leak outside of the class even for testing. Bug: 139833413 Test: atest CtsAutoFillServiceTestCases Change-Id: Ia99c379e21515d2c00cae00d671aab38327bc405
Diffstat (limited to 'core/java/android/content/AutofillOptions.java')
-rw-r--r--core/java/android/content/AutofillOptions.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/content/AutofillOptions.java b/core/java/android/content/AutofillOptions.java
index 082663e11ea0..97b33b74314c 100644
--- a/core/java/android/content/AutofillOptions.java
+++ b/core/java/android/content/AutofillOptions.java
@@ -97,6 +97,8 @@ public final class AutofillOptions implements Parcelable {
/**
* Returns if autofill is disabled by service to the given activity.
+ *
+ * @hide
*/
public boolean isAutofillDisabledLocked(@NonNull ComponentName componentName) {
final long elapsedTime = SystemClock.elapsedRealtime();