commit | 5aadd492547f9b77b005f5d17c3d1509b681fcd8 | [log] [tgz] |
---|---|---|
author | Yan Zhu <yanzhuyan@google.com> | Thu Mar 24 17:33:59 2022 -0700 |
committer | Yan Zhu <yanzhuyan@google.com> | Tue Apr 05 08:16:35 2022 -0700 |
tree | 07699b67ca96a5ed0d656c13c3cce6015d7ce2dc | |
parent | 0797d97536b12d04781ac3751a302aa787149372 [diff] |
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