This is the cherry pick merge for the M73 branch which was approved here:

[Autofill Assistant] Fix recovery of status message after interrupt.

Before this patch, recovery of status message after an interrupt
depended on an uninitialized boolean, so sometimes cleared the status
instead of restoring it.

This patch initializes the boolean and adds a unit test.

Bug: 806868
Change-Id: I9b8c7875a6614c9e855a98ed14e70bc925cacdb3
Reviewed-by: Mathias Carlen <>
Commit-Queue: Stephane Zermatten <>
Cr-Original-Commit-Position: refs/heads/master@{#626508}(cherry picked from commit 4e5a2a38a1125819e759b838734d1b213ad5937f)
Reviewed-by: Stephane Zermatten <>
Cr-Commit-Position: refs/branch-heads/3683@{#91}
Cr-Branched-From: e51029943e0a38dd794b73caaf6373d5496ae783-refs/heads/master@{#625896}
3 files changed