Skip to content
Commit c0f877a7 authored by Joanne's avatar Joanne
Browse files

Do not send event if the buffer is empty.

Found many logs in bugreport that call sendEvents() even the buffer
is empty. We should avoid unnecessary API call to reduce ipc spam.
This change doesn't fix the potential ipc spam issue, only mitigates
the issue.

Bug: 231313913
Test: manual. Local add log and see the empty api call is skipped
Change-Id: I9c8afc5ae2d06074900886cf5743b1ec61ccb973
parent b2941816
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment