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

View File

@@ -324,7 +324,8 @@ class MmsNetworkManager {
private void registerConnectivityChangeReceiverLocked() {
if (!mReceiverRegistered) {
mContext.registerReceiver(mConnectivityChangeReceiver, mConnectivityIntentFilter);
mContext.registerReceiver(mConnectivityChangeReceiver, mConnectivityIntentFilter,
Context.RECEIVER_EXPORTED/*UNAUDITED*/);
mReceiverRegistered = true;
}
}

View File

@@ -132,7 +132,8 @@ public class BugleApplication extends Application implements UncaughtExceptionHa
LogUtil.i(TAG, "Carrier config changed. Reloading MMS config.");
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,