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

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

Log ignored external vibrations in dumpsys

Add log entries for ignored external vibration when the device doesn't
have external control capability or when the requesting app doesn't have
the required VIBRATE permission.

This will help debugging cases where vibration might not be felt by the
user but will not log error if triggered from the audio-coupled path.

Also improve logs from vibrations created by performHapticFeedback to
log the original feedback constant id requested, to help identifying the
source of the vibrations in scenarios when the original app is system or
SysUI.

Fix: 304481005
Test: atest VibratorManagerServiceTest
Change-Id: Ie393e8f33663f818b40fe9a49606e983ad2c53bf
parent 4e21ef74
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