Merge "Add unaudited exported flag to exposed runtime receivers"
This commit is contained in:
committed by
Android (Google) Code Review
commit
6ac4faba39
@@ -324,7 +324,8 @@ class MmsNetworkManager {
|
|||||||
|
|
||||||
private void registerConnectivityChangeReceiverLocked() {
|
private void registerConnectivityChangeReceiverLocked() {
|
||||||
if (!mReceiverRegistered) {
|
if (!mReceiverRegistered) {
|
||||||
mContext.registerReceiver(mConnectivityChangeReceiver, mConnectivityIntentFilter);
|
mContext.registerReceiver(mConnectivityChangeReceiver, mConnectivityIntentFilter,
|
||||||
|
Context.RECEIVER_EXPORTED/*UNAUDITED*/);
|
||||||
mReceiverRegistered = true;
|
mReceiverRegistered = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -132,7 +132,8 @@ public class BugleApplication extends Application implements UncaughtExceptionHa
|
|||||||
LogUtil.i(TAG, "Carrier config changed. Reloading MMS config.");
|
LogUtil.i(TAG, "Carrier config changed. Reloading MMS config.");
|
||||||
MmsConfig.loadAsync();
|
MmsConfig.loadAsync();
|
||||||
}
|
}
|
||||||
}, new IntentFilter(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED));
|
}, new IntentFilter(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED),
|
||||||
|
Context.RECEIVER_EXPORTED/*UNAUDITED*/);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void initMmsLib(final Context context, final BugleGservices bugleGservices,
|
private static void initMmsLib(final Context context, final BugleGservices bugleGservices,
|
||||||
|
|||||||
Reference in New Issue
Block a user