[Autofill Assistant] Fix the stop action.
Before this change, the stop action, which indirectly calls AutofillAssistantUiController.onShutdown, would just leave the UI open, even after deleting the native instances. This isn't what should happen; stop/shutdown should close the UI. This also causes crashes, if the user tries to dismiss the UI. With this change, the UI is hidden by stop/shutdown before the native instances are deleted. Bug: 806868 Change-Id: Ia5d4d2e8973d0a68fb5bca4c3841429d91d1b98f Reviewed-on: https://chromium-review.googlesource.com/c/1309735 Commit-Queue: Stephane Zermatten <szermatt@chromium.org> Reviewed-by:Ganggui Tang <gogerald@chromium.org> Cr-Commit-Position: refs/heads/master@{#604555}
Showing
Please register or sign in to comment