Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6c093892 authored by Chaohui Wang's avatar Chaohui Wang
Browse files

New BroadcastReceiverAsUserFlow

Use callbackFlow to register / unregister receiver to prevent leak.
Before this change, if DisposableBroadcastReceiverAsUser() is removed
from compose before onStop(), leak may happens.

Bug: 308681068
Test: manual - on Settings All Apps, verify app change event collected
Test: unit tests
Change-Id: I73db37d01a0001a2abd1480b44302d61ddbfc695
parent bd09a5a3
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