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

Commit 05eb1365 authored by Manasi Navare's avatar Manasi Navare
Browse files

Create a unit test for ModeChangeObserver class



This tests that the DisplayEventReceiver and
DisplayListener callbacks that ModeChangeObserver
overrides are being called correctly and are updating
the rejected modes vote without any race condition.

Bug: 401032713
Test: atest -c DisplayServiceTests:com.android.server.
display.mode.ModeChangeObserverTest
Flag: com.android.graphics.surfaceflinger.flags.display_config_error_hal

Change-Id: I33b98ce01d8a49d37f90e5fea021058b9d919850
Signed-off-by: default avatarManasi Navare <navaremanasi@google.com>
parent c80fd5d2
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