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

Fix crash when using VibratorManagerService before system ready

VibratorManagerService depends on some system services like Vibrator,
AudioManager and InputManager, which can only be initialized
onBootPhase.

Move only the initialization of these services to the onBootPhase and
allow the VibratorManagerService to be used before that without
crashing.

Fix: 180699899
Test: VibratorManagerServiceTest
Change-Id: Id6406373d7a7f15265aa6c1ce5b7ef39bb949eed
parent f48c8fc6
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