Merge "Add unaudited exported flag to exposed runtime receivers"

This commit is contained in:
TreeHugger Robot
2022-11-04 13:03:45 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 2 deletions
@@ -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,