diff options
| author | 2025-02-07 15:10:43 -0800 | |
|---|---|---|
| committer | 2025-02-07 15:10:43 -0800 | |
| commit | e579b0d69e3333e366ec4048bc55c7b05617c37f (patch) | |
| tree | 41546a25e7097a2799d2fdd79d0f135bc0e67efc /cmds/bootanimation/BootAnimation.cpp | |
| parent | 65296d7c9054c5dc1acdfba673df46cd25352f01 (diff) | |
| parent | 1e4d6e07e2bfe99de8ca8d7a539b5ccc5acc98d0 (diff) | |
Merge changes from topic "display_err_handling_bug_fixes" into main
* changes:
Use Display Events from DisplayEventType Enum class
Add dispatchModeRejected exception in NativeDisplayReceiver
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
| -rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index b43905b19239..844e52c3ecf2 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -441,7 +441,7 @@ public: numEvents = mBootAnimation->mDisplayEventReceiver->getEvents(buffer, kBufferSize); for (size_t i = 0; i < static_cast<size_t>(numEvents); i++) { const auto& event = buffer[i]; - if (event.header.type == DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG) { + if (event.header.type == DisplayEventType::DISPLAY_EVENT_HOTPLUG) { SLOGV("Hotplug received"); if (!event.hotplug.connected) { |