Skip to content
Commit 5aadd492 authored by Yan Zhu's avatar Yan Zhu
Browse files

Fix BroadcastReceiver leaked during user switching

Switch between two users multiple times will not continously increase
number of receivers registered to system, i.e. reach an equilibrium

Bug: 224501318
Test: check with adb:
while true; do adb shell dumpsys activity broadcasts | egrep \
'app=[0-9]+:system' | wc -l; date; sleep 1; done

Change-Id: Ifcf39250c4874cd0b7997c0fcbc4b85cd8a2f4f6
parent 0797d975
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment