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

Skip to content
Commit e83e02b8 authored by fionaxu's avatar fionaxu
Browse files

handle carrier config change race conditions

In some rare cases, up-to-date config could be fetched with delay and
all signals have already been delivered the receivers from the default
carrier config. To handle this raciness, we should notify those
receivers (from old configs) and reset carrier actions. This should be done
before mCachedWakeSignalConfigs and mCachedNoWakeSignalConfig got purged
and written with the up-to-date value. Otherwise, those receivers from the old
config might lingers without properly clean-up.

Bug: 62070135
Test: runtest --path
frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierSignalAgentTest.java
Change-Id: Id9d599b277fa5c0c87cff14c580c0ce7f09a95d7
parent 327d466a
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