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
Loading
Please register or sign in to comment