[Autofill Assistant] Fix delayed prompt state issue.
Before this patch, the controller would stay in the running state between the end of a script and the time runnable scripts were found. In practice, for users, this meant that the website could be available, but keyboard could be unavailable until a runnable script is found. During that time the progress bar should have been pulsing but wasn't. After this patch, the controller enters the prompt state immediately after running a script, starting the pulsing and making the keyboard available right away. The cost of this is that in some corner case, the state can switch to the prompt state then quickly enter an error case. Bug: 122825639 Change-Id: Id4927a750370ec59e5c1216ebac01d54e377b2f3 Reviewed-on: https://chromium-review.googlesource.com/c/1442711 Commit-Queue: Stephane Zermatten <szermatt@chromium.org> Reviewed-by:Mathias Carlen <mcarlen@chromium.org> Cr-Commit-Position: refs/heads/master@{#626996}
Showing
Please register or sign in to comment