Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 24da93d9 authored by Yan Han's avatar Yan Han
Browse files

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
parent 6613fd3f
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