Only setup data when config and sim is ready

SIM needs to be fully loaded before we can setup
data connection because APN slection requires
MCC/MNC on the SIM. Also lots of data related configs
are stored in carrier config. Both needs to be ready
before we can setup a data connection (except for
emergency APN).

Bug: 152816633
Test: Manual + unit tests

Merged-In: I69c7838bdd9751bef4c15e9504519b55afb9fefb
Change-Id: I69c7838bdd9751bef4c15e9504519b55afb9fefb
(cherry picked from commit 38de77534a)
This commit is contained in:
Jack Yu
2020-04-02 16:19:09 -07:00
parent 203b7a7c0d
commit 4584d589bd

View File

@@ -113,6 +113,7 @@ public class DctConstants {
public static final int EVENT_5G_TIMER_HYSTERESIS = BASE + 53;
public static final int EVENT_5G_TIMER_WATCHDOG = BASE + 54;
public static final int EVENT_CARRIER_CONFIG_CHANGED = BASE + 55;
public static final int EVENT_SIM_STATE_UPDATED = BASE + 56;
/***** Constants *****/