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

Fix NPE on VibratorManagerService

The service fixes the VibrationAttributes extracted from the external
vibration AudioAttributes to apply usage and flags, and thus need to
check for permissions before applying them.

The check had a NPE error for unknown external vibrations.

Fix: 227677233
Test: VibratorManagerServiceTest
Change-Id: I864a0538c90d65b96ec319ce75cb64f962138bb9
parent f5debd0b
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