commit | d05db41eb7a413339d25f8bd37f44b229980a1a5 | [log] [tgz] |
---|---|---|
author | junyulai <junyulai@google.com> | Tue Mar 19 21:34:38 2019 +0800 |
committer | junyulai <junyulai@google.com> | Fri Mar 22 10:19:38 2019 +0800 |
tree | 5eedfd2a1b9a8bdcb1b84065eab2bdd803e08b6e | |
parent | d2a4a1cd8dc0430019dfcd957b70a1fcc0cf44f2 [diff] |
Export API of listening for network change events in app2 Currently, due to foreground app will never get blocked by NetworkPolicyManagerService, so onBlockedStatusChanged cannot be tested under cts net app. Thus, listen for network change events in app2 allows subsequent tests on NetworkCallbacks. Bug: 118862340 Test: m -j cts Change-Id: I26ca370fc6ae4dd3f32ce6cf448bae83f3fbfbcc