commit | 7a96448ea93b12c2ab5041213c499522e6f6c014 | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Fri Feb 26 17:46:03 2021 +0800 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Mar 01 16:18:50 2021 +0900 |
tree | 21531549ecddfa06d35021d2776baf7b68fc678f | |
parent | ffe871697acc382457cbab788e453f43a00965e3 [diff] |
Add shims for ConnectivityManager requestBackgroundNetwork and registerSystemDefaultNetworkCallback are not available before API31 so ConnectivityManageShim is used as a wrapper that can hold a reference to it in common code. Bug: 167645754 Test: m NetworkStackApiCurrentLib NetworkStackApiStableLib Test: atest NetworkStackTests NetworkStackNextTests Test: local verify the usage in ConnectivityManagerTests Change-Id: I1f7ecd6c6005631951f514d60885a5d453c3f2d9