commit | 6ca0296d76bf6b6db6bb5fbd8f18bbf83badc03a | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Mon Feb 20 20:10:09 2023 +0900 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Wed May 10 03:10:42 2023 +0000 |
tree | 39776a129bd76aba7d87b1fa6a126442f7838869 | |
parent | 5572568b817865a153c32756dd8e9041cc2cccd5 [diff] |
Move ConnectivityResources to service-connectivity The ConnectivityResources class is only usable with QUERY_ALL_PACKAGES permission, so it is not generally usable in framework-connectivity. It is also backed by the ServiceConnectivityResources APK, which is intended as resources for service-connectivity. Move the class to service-connectivity and update callers. CTS needs a way to determine the supported keepalive count as it used the resources from KeepaliveUtils as @hide API, so provide a ConnectivityManager @hide API for testing. Bug: 279108992 Test: atest (cherry picked from https://android-review.googlesource.com/q/commit:bee2ee14f34ff028236b393523d1174a375d2a08) Merged-In: I3c9a77c580b5ab87c922c32778bce15dc33b4d1d Change-Id: I3c9a77c580b5ab87c922c32778bce15dc33b4d1d