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

Skip to content
Commit 5d652d22 authored by Rambo Wang's avatar Rambo Wang
Browse files

Ignore updateCarrierService request with invalid phoneId

During device switches from DSDS to SS mode, the old RIL instances
may still report events (SIM_UNKNOWN, SIM_IO_ERROR...) with the
obsoleted phoneId. The invalid phoneId will cause IAE when
calling CarrierConfigManager#updateConfigForPhoneId and crash
the phone process.

To fix the issue, the phoneId is validated firstly before calling
CarrierConfigManager#updateConfigForPhoneId.

Bug: 192050148
Test: atest SubscriptionInfoUpdaterTest
Change-Id: I1fed531c4a82709c4a5da048577186a60d3f1314
parent 3482bc94
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