IMS: Export receiver of org.codeaurora.intent.action.ESSENTIAL_RECORDS_LOADED
E AndroidRuntime: java.lang.SecurityException: com.android.server.telecom: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
...
E AndroidRuntime: at org.codeaurora.ims.utils.QtiCarrierConfigHelper.setup(QtiCarrierConfigHelper.java:157)
E AndroidRuntime: at com.android.server.telecom.CallsManager.<init>(CallsManager.java:734)
E AndroidRuntime: at com.android.server.telecom.TelecomSystem.<init>(TelecomSystem.java:365)
E AndroidRuntime: at com.android.server.telecom.components.TelecomService.initializeTelecomSystem(TelecomService.java:217)
E AndroidRuntime: at com.android.server.telecom.components.TelecomService$1.createTelecomService(TelecomService.java:84)
E AndroidRuntime: at com.android.server.telecom.TelecomLoaderService$TelecomServiceConnection.onServiceConnected(TelecomLoaderService.java:66)
...
Change-Id: I27a1ee6c87be5234aa97eead58b2a5d122e49be5
diff --git a/ims/ims-ext-common/src/org/codeaurora/ims/utils/QtiCarrierConfigHelper.java b/ims/ims-ext-common/src/org/codeaurora/ims/utils/QtiCarrierConfigHelper.java
index 97d1008..7f3810c 100644
--- a/ims/ims-ext-common/src/org/codeaurora/ims/utils/QtiCarrierConfigHelper.java
+++ b/ims/ims-ext-common/src/org/codeaurora/ims/utils/QtiCarrierConfigHelper.java
@@ -154,7 +154,7 @@
IntentFilter filter = new IntentFilter(CarrierConfigManager
.ACTION_CARRIER_CONFIG_CHANGED);
filter.addAction(QtiCallConstants.ACTION_ESSENTIAL_RECORDS_LOADED);
- mContext.registerReceiver(mReceiver, filter);
+ mContext.registerReceiver(mReceiver, filter, Context.RECEIVER_EXPORTED);
mSubscriptionManager.addOnSubscriptionsChangedListener(mOnSubscriptionsChangeListener);
}