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

Skip to content
Commit 924613dc authored by Winni Chang's avatar Winni Chang
Browse files

Prevent SecurityException during unit tests

Mock out displayOsd because it broadcasts an intent, which causes a
runtime error due to missing permissions on ADT-4.

Test: atest com.android.server.hdmi.SystemAudioAutoInitiationActionTest#testReceiveSystemAudioMode_systemAudioOn

Bug: 289908764
Change-Id: Ie3020da76c6d9996119493dc042de8d91c414623
parent 3dbac658
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment