Merge "Log no save ui reason if no dataset set." into tm-dev am: 309291676c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18349262 Change-Id: I66aea21c23c70d02d0e1b0d7d3bdd3ca7a781353 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1965,15 +1965,6 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
|
||||
}
|
||||
}
|
||||
}
|
||||
final AutofillId[] fieldClassificationIds = lastResponse.getFieldClassificationIds();
|
||||
|
||||
if (!hasAtLeastOneDataset && fieldClassificationIds == null) {
|
||||
if (sVerbose) {
|
||||
Slog.v(TAG, "logContextCommittedLocked(): skipped (no datasets nor fields "
|
||||
+ "classification ids)");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < mViewStates.size(); i++) {
|
||||
final ViewState viewState = mViewStates.valueAt(i);
|
||||
@@ -2022,6 +2013,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
// Check if value match a dataset.
|
||||
if (hasAtLeastOneDataset) {
|
||||
for (int j = 0; j < responseCount; j++) {
|
||||
@@ -2078,7 +2070,6 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
|
||||
} // else
|
||||
} // for j
|
||||
}
|
||||
|
||||
} // else
|
||||
} // else
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user