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

Commit ee14187b authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Removed FLAG_SMART_SUGGESTION_LEGACY"

parents ebd10b8f 28a6c0ec
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;