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

Match phoneId in the record if the subId is invalid

When the default sub id becomes invalid in some cases, like sim lost,
all the listeners may receive the events on default phone. This may
cause some noise to the listeners. So we update the idMatch logic to
match phone id in this case.

Bug: 187743938
Test: atest CtsTelephonyTestCases:TelephonyRegistryManagerTest
Test: atest FrameworksTelephonyTests:TelephonyRegistryTest
Test: manual
Change-Id: I2705cbc6a5cdcbf0046ed29e29ee674d5d44e857
parent 75e00910
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