Add CarrierConfigLoader service.
Load configs from carrier app and return to CarrierConfigManager
getCarrierConfig calls.
Working: multi-sim and in-mem cache.
Next CL: persistence and handle package change events.
Bug: b/19483786
Change-Id: I3490a2698436144cba1d3cc0f2ce49c582d9ccc7
diff --git a/src/com/android/phone/PhoneGlobals.java b/src/com/android/phone/PhoneGlobals.java
index 6c658d3..48b2bf9 100644
--- a/src/com/android/phone/PhoneGlobals.java
+++ b/src/com/android/phone/PhoneGlobals.java
@@ -147,6 +147,7 @@
NotificationMgr notificationMgr;
public PhoneInterfaceManager phoneMgr;
public SimActivationManager simActivationManager;
+ CarrierConfigLoader configLoader;
private BluetoothManager bluetoothManager;
private CallGatewayManager callGatewayManager;
@@ -402,6 +403,8 @@
phoneMgr = PhoneInterfaceManager.init(this, PhoneFactory.getDefaultPhone());
+ configLoader = CarrierConfigLoader.init(this);
+
// Create the CallNotifer singleton, which handles
// asynchronous events from the telephony layer (like
// launching the incoming-call UI when an incoming call comes