Skip to content
Snippets Groups Projects
Commit 9d8ab0ca authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Force the test app into a non-idle state.

Otherwise, the app idle state could interfere
with the test verifications.

Bug: 317204099
Test: atest ./tests/cts/hostside/src/com/android/cts/net/HostsideNetworkCallbackTests.java
Change-Id: I057546082ffc2f6f5c8da8928824a5261d0f8c7f
parent b4c23597
No related branches found
No related tags found
No related merge requests found
......@@ -203,6 +203,7 @@ public class NetworkCallbackTest extends AbstractRestrictBackgroundNetworkTestCa
// Initial state
setBatterySaverMode(false);
setRestrictBackground(false);
setAppIdle(false);
// Get transports of the active network, this has to be done before changing meteredness,
// since wifi will be disconnected when changing from non-metered to metered.
......
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