commit | 96612aedb1912eb72045e656744ca03bece214b8 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Aug 17 15:22:05 2018 +0800 |
committer | Mike Yu <yumike@google.com> | Fri Oct 19 19:52:50 2018 +0800 |
tree | 8c2f867d2ce60770ca56c303a1b7a541fd4405d1 | |
parent | e70b760e834e3a539a473d41170cdbbccf7baeeb [diff] |
Add tests for the network blocked status change onBlockedStatusChanged is intruduced for network blocked status. The changes in this patch are: - Test onBlockedStatusChanged which tells apps whether the network is blocked. - Fixed the tests which is affected by the order changed in onAvailable. Test: as follows - runtest frameworks-net - runtest -x NetworkPolicyManagerServiceTest.java Bug: 74575553 Change-Id: I383c037ed895ef69c478dc3cff69fb1e27c42845