Update git submodules
* Update frameworks/base from branch 'master'
to 3878f501077599420c4f1b464ed6695c7157d9f0
- Merge "Do not notify SS change with invalid subId"
- Do not notify SS change with invalid subId
(This is a reupload of ag/8541406.)
If a service state change is reported as a subscription is becoming
invalid (i.e. no longer connected to a phone), the current behavior can
sometimes notify this change to all PhoneStateListeners regardless of
which subId they registered to listen on (namely this happens when the
subscription was attached to the default phone).
This change removes that behavior so that no listeners are notified if
the subscription is invalid.
Test: manually verified on DSDS that when
1. erasing eSIM when it is default and
2. removing pSIM when it is default,
the service state triangle for the other SIM is unaffected
Also made sure that signal strength is rebroadcast when sub becomes
valid, so b/138357571 did not show up 5/5 times
Bug: 133140128
Change-Id: I2ba6a971fff4e29ccd2166c381308fcd953f5bc0
Merged-In: I2ba6a971fff4e29ccd2166c381308fcd953f5bc0
* Update frameworks/opt/telephony from branch 'master'
to c8d6062a931beb5fc9c9b0b653791c8e56279ec8
- Merge "Notify service state change when subId goes valid"
- Notify service state change when subId goes valid
Since we no longer broadcast service state changes for invalid subIds,
there's a possibility that a caller may miss service state indications
if the service state is broadcast before the subId is set (this is a
race condition). We can address this by rebroadcasting the service state
in the case when the subId goes from invalid to valid.
Bug: 133140128
Test: Checked that service state is rebroadcast when subid becomes
valid, b/138357571 did not show up 5/5 times
Change-Id: I42ee6940f7d5b8458e8a17cde0a88a4cf156a092
Merged-In: I42ee6940f7d5b8458e8a17cde0a88a4cf156a092
2 files changed