commit | 7c999d8d4cc4cd092d2de52ae98037ca4861e71f | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mfasheh@google.com> | Thu May 04 20:23:11 2023 +0000 |
committer | Mark Fasheh <mfasheh@google.com> | Wed May 10 21:04:54 2023 +0000 |
tree | 6e65f07d05b0068b1e3c4c0dcf04fde7933d0242 | |
parent | ac7a0e3ee9a4dcd054529aa371c0dad6778c448d [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 Change-Id: I93f174811aef726145a18ea90443ddfc1456478e