summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Nathan Harold <nharold@google.com> 2025-01-13 16:41:56 -0800
committer Nathan Harold <nharold@google.com> 2025-01-13 16:48:07 -0800
commitd960d4b11a4b8991f5da5ed0472438f5e4318d3e (patch)
tree28d52d3872fd0e10e2270cabc84d6d1ce8eb8064 /cmds/bootanimation/BootAnimation.cpp
parentf920cc5d8e967ec9359269dbde084eed5b979118 (diff)
Unregister DeviceIdle Receiver in IpSecPacketLossDetector
Ensure that when the IpSecPacketLossDetector cleans up due to the underlying network changing, that the broadcast receiver it's listening to is cleaned up. Previously this would leak broadcast receivers. Based on inspection, all instances that touch the BroadcastReceiver are done on the same looper, so we shouldn't need to guard the creation and destruction of the receiver. Also, stop closing the monitored IpSecTransform. The monitor should not have been closing the transform in the first place. Most of the time it isn't an issue; however, in the event of MOBIKE, the transform will remain open, so this is a functional bug. Bug: 389208101 Test: atest IpSecPacketLossDetectorTest:testClose Flag: EXEMPT bugfix Change-Id: I26245960c36eaa0557d377b1672cc76ab0f70b03
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions