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

Skip to content
Commit 7b41ed78 authored by Lais Andrade's avatar Lais Andrade
Browse files

Improve VibratorManagerService dumpsys

Sometimes it can be hard to debug vibrations using a bugreport when the
user interacts with the keyboard during the bugreport generation. This
can create multiple touch vibrations that push all other touch
vibrations out of the buffer.

This change keeps the existing vibration records, now renamed to "recent
vibrations", and adds a new field "aggregated vibration history" which
aggregates vibrations by uid, attributes and effect when they are
requested  in close succession (less than 1s).

This change also introduces other improvements to dumpsys:

- Print VibrationSettings, VibrationConfig and VibratorController using
  multiple lines and indentation
- External vibration breakdown by usage
- Simplify each vibration text, printing a few lines for each vibration
  and simplifying the VibrationEffect string.

Fix: 260309860
Test: adb shell dumpsys vibrator_manager
Change-Id: I3d065a6264716185675f6a83ba61dcae71e8e38f
parent 19dae7cd
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