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

Commit 46b6b8a1 authored by jasonwshsu's avatar jasonwshsu Committed by Jason Hsu
Browse files

Fix AccessibilityManagerServiceTest exceeded the number of permissible registered listeners

Root Cause: Test will construct AccessibilityManagerService each time, and it will register listeners without unregister it.

Solution: We don't need to test register listeners logic inside AccessibilityManagerService, so pass the mock object inside constructor.

Bug: 388436864
Test: atest AccessibilityManagerServiceTest
Flag: EXEMPT bugfix
Change-Id: I8c96323438d4708afe5f99daee0f2498c8c2b2ea
parent beedd416
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