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

Commit a8973ada authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

Merge "Removed unusued constant (FLAG_AUGMENTED_AUTOFILL_REQUEST)." into qt-dev

am: 19864d57

Change-Id: I2fbcc01979d8af4f4b10bc9d4cf07a1f919c01ca
parents d406003f 19864d57
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -71,14 +71,6 @@ public final class FillRequest implements Parcelable {
     */
    public static final int FLAG_COMPATIBILITY_MODE_REQUEST = 0x2;

    // Private flags below start from the highest-significative bit (0x80000000)
    /**
     * Request was only triggered for augmented autofill.
     *
     * @hide
     */
    public static final int FLAG_AUGMENTED_AUTOFILL_REQUEST = 0x80000000;

    /** @hide */
    public static final int INVALID_REQUEST_ID = Integer.MIN_VALUE;

+1 −2
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
package com.android.server.autofill;

import static android.service.autofill.AutofillFieldClassificationService.EXTRA_SCORES;
import static android.service.autofill.FillRequest.FLAG_AUGMENTED_AUTOFILL_REQUEST;
import static android.service.autofill.FillRequest.FLAG_MANUAL_REQUEST;
import static android.service.autofill.FillRequest.INVALID_REQUEST_ID;
import static android.view.autofill.AutofillManager.ACTION_START_SESSION;
@@ -570,7 +569,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
    @GuardedBy("mLock")
    private void requestNewFillResponseLocked(@NonNull ViewState viewState, int newState,
            int flags) {
        if (mForAugmentedAutofillOnly || (flags & FLAG_AUGMENTED_AUTOFILL_REQUEST) != 0) {
        if (mForAugmentedAutofillOnly) {
            // TODO(b/122858578): log metrics
            if (sVerbose) {
                Slog.v(TAG, "requestNewFillResponse(): triggering augmented autofill instead "