commit | f9729757f99f13a7e7b22fa9a7ce128dc0de0630 | [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 | 7acd4449f5e34ef448da851946953b274f9f592a | |
parent | 2417859fa5322ee8238d1650e39c6a950eac3710 [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