commit | 7501e76ea46793286ad79a9bd7c27181096c0a36 | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mfasheh@google.com> | Thu May 04 20:23:11 2023 +0000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Thu May 11 02:25:35 2023 +0000 |
tree | 9fe8d16d5ca2ae9a786847bbbc5bbf75c2945132 | |
parent | 23c86e6873aed0ec9ce26e00439fa6a082a3c401 [diff] |
Optionally have ConnectivityService kill sockets for frozen apps To do this we register a UidFrozenStateChangedCallback with ActivityManager. The callback then queues up work on the Handler thread to consume the original callback args and kill appropriate sockets. Test: atest ConnectivityServiceTests Bug: 277100090 (cherry picked from https://android-review.googlesource.com/q/commit:7c999d8d4cc4cd092d2de52ae98037ca4861e71f) Merged-In: I93f174811aef726145a18ea90443ddfc1456478e Change-Id: I93f174811aef726145a18ea90443ddfc1456478e