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

Commit 8d8f81d6 authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Always remove the LocalServices interface before adding a new one.

Another test appears to be not cleaning up the interfaces registered
with LocalServices, leaving the process in a bad state. To make tests
more robust, remove any existing service before registering a new one,
instead of assuming a clean state.

Bug: 432481295
Test: atest services/tests/servicestests/src/com/android/server/net/NetworkPolicyManagerServiceTest.java
Flag: TEST_ONLY
Change-Id: Icf3ee94e184f30103cac5b7ce617e46851f99a1b
parent 5c46083e
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