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

Skip to content
Commit f3460431 authored by Yasin Kilicdere's avatar Yasin Kilicdere
Browse files

UserManagerTest: Only register a receiver when it's needed.

The tests involve removing users and the broadcasts generated
by these events could block the tests from receiving other
broadcasts, so only register a receiver when it is needed
and unregister once it is not needed anymore.

Bug: 260158381
Test: atest FrameworksServicesTests:com.android.server.pm.UserManagerTest
Change-Id: I9169fe3d34400ece137f585462c18b2a883bc82b
parent f126bff7
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