Skip to content
Commit e6ea90cb authored by chiachangwang's avatar chiachangwang
Browse files

Store registered network callbacks and unregister all at tearDown

Add helper methods to register network callbacks and unregister
them all at tearDown to prevent missing unregisteration and causing
leak. This will also help to develop the follow up test cases.

Test: atest com.android.cts.net.HostsideVpnTests
Change-Id: Ifefee3f9bda63a9f45108516f86f2f5242c53bb2
parent 31b6c65f
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