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
Loading
Please register or sign in to comment