Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 482e127c authored by Joanne Chung's avatar Joanne Chung
Browse files

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
parent d38b8882
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -619,7 +619,6 @@ package android.content {
    method public int describeContents();
    method public static android.content.AutofillOptions forWhitelistingItself();
    method public boolean isAugmentedAutofillEnabled(@NonNull android.content.Context);
    method public boolean isAutofillDisabledLocked(@NonNull android.content.ComponentName);
    method public void writeToParcel(android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.content.AutofillOptions> CREATOR;
    field public long appDisabledExpiration;
+2 −0
Original line number Diff line number Diff line
@@ -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();