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

Commit 483ab432 authored by rambowang's avatar rambowang Committed by Rambo Wang
Browse files

ADSC: evaluate auto data switch on carrier config change

The patch fixes the issue that auto data switch for OPPT is not
immediately evaluated when the carrier enables or disables the feature
through carrier config.

ADSC used to depend on DataConfigManager to monitor and update the
carrier config for OPPT switch. When carrier config changed, DCM doesn't
proactively inform ADSC and the switch evalution occcurs only from other
event follows (e.g. subcription change).

Although DCM can provide carrier config callback for ADSC to monitor,
the per-slot callback makes the management unnecessarily complicated. So
this change let ADSC minitor carrier config change to simplify the logic.

Bug: 436856439
Test: atest AutoDataSwitchControllerTest
Test: ADSC feature test for OPPT
Flag: com.android.internal.telephony.flags.monitor_carrier_config_change_for_auto_data_switch
Change-Id: I02ae8ae15dddd652e4786d9ab231e29f37d2ad51
parent cb104163
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment