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

Skip to content
Commit f61a4aac authored by Hui Wang's avatar Hui Wang
Browse files

Do not register event until entering the state

Register the event when entering the state, and unregister when
exiting the state to avoid the event coming unexpectly due to
the timing issue among different threads.

Bug: 270912888
Bug: 271009884
Test: manually to kill phone process and check no crash
Test: atest com.android.internal.telephony.CellBroadcastConfigTrackerTest
Change-Id: I56545895dc5a1ddefce8df607f6d53bfe4696833
parent d7bcce12
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