Log selected dataset id regradless of authentication result.
Authentication result is logged separately in another field. Test: m Bug: 278920289 Change-Id: Id973d69527fa4f015beffad722ad80cbabc3b028
This commit is contained in:
@@ -5086,13 +5086,14 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
|
||||
+ id + " destroyed");
|
||||
return;
|
||||
}
|
||||
// Selected dataset id is logged regardless of authentication result.
|
||||
mPresentationStatsEventLogger.maybeSetSelectedDatasetId(datasetIndex);
|
||||
mPresentationStatsEventLogger.maybeSetSelectedDatasetPickReason(
|
||||
dataset.getEligibleReason());
|
||||
// Autofill it directly...
|
||||
if (dataset.getAuthentication() == null) {
|
||||
if (generateEvent) {
|
||||
mService.logDatasetSelected(dataset.getId(), id, mClientState, uiType);
|
||||
mPresentationStatsEventLogger.maybeSetSelectedDatasetId(datasetIndex);
|
||||
mPresentationStatsEventLogger.maybeSetSelectedDatasetPickReason(
|
||||
dataset.getEligibleReason());
|
||||
}
|
||||
if (mCurrentViewId != null) {
|
||||
mInlineSessionController.hideInlineSuggestionsUiLocked(mCurrentViewId);
|
||||
|
||||
Reference in New Issue
Block a user