Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ae4053f8 authored by Brian Stack's avatar Brian Stack
Browse files

Only log dropped events every two seconds

If a device enters a state where the Sensor Event Connection's cache
is full, it would generate a log for every new event it received which
led to a large number of logs. This patch rate-limits how often the
dropped event log line is output and summarizes the number of events
that were dropped.

Bug: 120790102
Test: Builds, verified log was generated at most once every two
      seconds per SensorEventConnection

Change-Id: I61d84bc15dd72d5d36d250ce40ace200d549a6c0
parent 782946a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment