From 3df20dea311497b1b9d9bb094fd7bbc0ee33f640 Mon Sep 17 00:00:00 2001 From: Devin Moore Date: Wed, 10 Jul 2024 22:27:07 +0000 Subject: [PATCH] Update HIDL EventFlagBits to have the correct values These values are swapped from the internal libfmq values. Test: atest fmq_test Bug: 352396902 Change-Id: Ib6d444e043fd38daabf51bd3cc3458d0c38fd133 --- tests/msgq/1.0/ITestMsgQ.hal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/msgq/1.0/ITestMsgQ.hal b/tests/msgq/1.0/ITestMsgQ.hal index 0cf9c7c71e..62bef0abf9 100644 --- a/tests/msgq/1.0/ITestMsgQ.hal +++ b/tests/msgq/1.0/ITestMsgQ.hal @@ -18,8 +18,8 @@ package android.hardware.tests.msgq@1.0; interface ITestMsgQ { enum EventFlagBits : uint32_t { - FMQ_NOT_EMPTY = 1 << 0, - FMQ_NOT_FULL = 1 << 1, + FMQ_NOT_FULL = 1 << 0, + FMQ_NOT_EMPTY = 1 << 1, }; /**