mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Fix the format specifier in assert log statements"
am: ddc10d848a
Change-Id: I79f81bbd4c0b4ff22496a0ade4e6cec155965a6a
This commit is contained in:
@@ -651,12 +651,12 @@ void HalProxyCallback::postEvents(const std::vector<Event>& events, ScopedWakelo
|
|||||||
if (numWakeupEvents > 0) {
|
if (numWakeupEvents > 0) {
|
||||||
ALOG_ASSERT(wakelock.isLocked(),
|
ALOG_ASSERT(wakelock.isLocked(),
|
||||||
"Wakeup events posted while wakelock unlocked for subhal"
|
"Wakeup events posted while wakelock unlocked for subhal"
|
||||||
" w/ index %zu.",
|
" w/ index %" PRId32 ".",
|
||||||
mSubHalIndex);
|
mSubHalIndex);
|
||||||
} else {
|
} else {
|
||||||
ALOG_ASSERT(!wakelock.isLocked(),
|
ALOG_ASSERT(!wakelock.isLocked(),
|
||||||
"No Wakeup events posted but wakelock locked for subhal"
|
"No Wakeup events posted but wakelock locked for subhal"
|
||||||
" w/ index %zu.",
|
" w/ index %" PRId32 ".",
|
||||||
mSubHalIndex);
|
mSubHalIndex);
|
||||||
}
|
}
|
||||||
mHalProxy->postEventsToMessageQueue(processedEvents, numWakeupEvents, std::move(wakelock));
|
mHalProxy->postEventsToMessageQueue(processedEvents, numWakeupEvents, std::move(wakelock));
|
||||||
|
|||||||
Reference in New Issue
Block a user