Add call to onBootPhase to tests that use HdmiControlService
Some system services are accessed and cached in a call to HdmiControlService#onBootPhase(SystemService#SYSTEM_SERVICES_READY). Since a lot of the code in the HDMI framework accesses other system services, tests that use HdmiControlService may cause null pointer exceptions as the codebase changes. This CL proactively adds this call to avoid future breakages. Test: atest com.android.server.hdmi Bug: 205817707 Change-Id: I684d188e563ff9089deacd1009f511e50a08f255
Loading
Please register or sign in to comment