Show help messages as temporary errors.

Bug: 272510026
Test: manual (use BP test app with coex and lightly touch sensor to trigger error, verify message is red)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e8085187191aac5cd5b5502049129712b701ced9)
Merged-In: I568e0da9152726037f7c30b6e9d68ffcb9418060
Change-Id: I568e0da9152726037f7c30b6e9d68ffcb9418060
This commit is contained in:
Joe Bolinger
2023-06-03 01:05:16 +00:00
committed by Cherrypicker Worker
parent 1548f0f8b7
commit 6b8010c7ab

View File

@@ -512,9 +512,10 @@ private class Spaghetti(
}
applicationScope.launch {
viewModel.showTemporaryHelp(
// help messages from the HAL should be displayed as temporary (i.e. soft) errors
viewModel.showTemporaryError(
help,
messageAfterHelp = modalities.asDefaultHelpMessage(applicationContext),
messageAfterError = modalities.asDefaultHelpMessage(applicationContext),
)
}
}