summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Manasi Navare <navaremanasi@google.com> 2025-02-04 01:01:01 +0000
committer Manasi Navare <navaremanasi@google.com> 2025-02-06 17:10:55 +0000
commit1e4d6e07e2bfe99de8ca8d7a539b5ccc5acc98d0 (patch)
tree9c6d2deefe15169c1ccd97508a8e66c999cb9a64 /cmds/bootanimation/BootAnimation.cpp
parent826a9248e39a65d05dc247982352fdc68cca6266 (diff)
Use Display Events from DisplayEventType Enum class
Display Events are now defined as part of the new DisplayEventType Enum class in android namespace. Use it from there instead of DisplayEventReceiver enum. Bug: 393133868 Test: Manual Flag: com.android.graphics.surfaceflinger.flags.display_config_error_hal Change-Id: Idcd2bc3f0ab532a3e5c86e52e59367c22351b994 Signed-off-by: Manasi Navare <navaremanasi@google.com>
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
-rw-r--r--cmds/bootanimation/BootAnimation.cpp2
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) {