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

Commit 28a6c0ec authored by Felipe Leme's avatar Felipe Leme
Browse files

Removed FLAG_SMART_SUGGESTION_LEGACY

Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.augmented.AugmentedLoginActivityTest

Bug: 123233342

Change-Id: Ia1855b6262deea67add17631d91bce9cd7643bae
parent 51a197d0
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -346,9 +346,6 @@ public final class AutofillManager {
    @TestApi
    public static final int FLAG_SMART_SUGGESTION_SYSTEM = 0x1;

    /** @hide */ // TODO(b/123233342): remove when not used anymore
    public static final int FLAG_SMART_SUGGESTION_LEGACY = 0x2;

    /** @hide */
    @IntDef(flag = true, prefix = { "FLAG_SMART_SUGGESTION_" }, value = {
            FLAG_SMART_SUGGESTION_SYSTEM
+0 −2
Original line number Diff line number Diff line
@@ -2595,8 +2595,6 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
        final int mode;
        if ((supportedModes & FLAG_SMART_SUGGESTION_SYSTEM) != 0) {
            mode = FLAG_SMART_SUGGESTION_SYSTEM;
        } else if ((supportedModes & AutofillManager.FLAG_SMART_SUGGESTION_LEGACY) != 0) {
            mode = AutofillManager.FLAG_SMART_SUGGESTION_LEGACY;
        } else {
            Slog.w(TAG, "Unsupported Smart Suggestion mode: " + supportedModes);
            return null;