commit | a5dd120dfaf559b716a7681825c3e131228e518e | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Fri Apr 01 18:09:41 2022 +0100 |
committer | Lais Andrade <lsandrade@google.com> | Fri Apr 01 18:09:41 2022 +0100 |
tree | 1ea2497a0228c1c839818b2a211f442938114b03 | |
parent | f5debd0bf50c5b9c62e1bf98397310c2244b77ef [diff] |
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