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
1 file changed