Merge "Fix AutofillManager and Session status not sync with fill dialog" into tm-dev
This commit is contained in:
@@ -3225,10 +3225,15 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
|
|||||||
currentView.setState(ViewState.STATE_FILL_DIALOG_SHOWN);
|
currentView.setState(ViewState.STATE_FILL_DIALOG_SHOWN);
|
||||||
mService.logDatasetShown(id, mClientState, UI_TYPE_DIALOG);
|
mService.logDatasetShown(id, mClientState, UI_TYPE_DIALOG);
|
||||||
}
|
}
|
||||||
|
// Just show fill dialog once, so disabled after shown.
|
||||||
|
// Note: Cannot disable before requestShowFillDialog() because the method
|
||||||
|
// need to check whether fill dialog enabled.
|
||||||
|
setFillDialogDisabled();
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
setFillDialogDisabled();
|
setFillDialogDisabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (response.supportsInlineSuggestions()) {
|
if (response.supportsInlineSuggestions()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user