Merge "Removed unusued constant (FLAG_AUGMENTED_AUTOFILL_REQUEST)." into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
19864d570c
@@ -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;
|
||||
|
||||
|
||||
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user