Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b8010c7 authored by Joe Bolinger's avatar Joe Bolinger Committed by Cherrypicker Worker
Browse files

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
parent 1548f0f8
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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),
            )
        }
    }