Merge "Add unaudited exported flag to exposed runtime receivers"

This commit is contained in:
Michael Groover
2022-01-03 17:35:02 +00:00
committed by Android (Google) Code Review
25 changed files with 52 additions and 26 deletions

View File

@@ -429,7 +429,8 @@ public class WifiCallingSettingsForSub extends SettingsPreferenceFragment
mValidListener = true;
}
context.registerReceiver(mIntentReceiver, mIntentFilter);
context.registerReceiver(mIntentReceiver, mIntentFilter,
Context.RECEIVER_EXPORTED_UNAUDITED);
final Intent intent = getActivity().getIntent();
if (intent.getBooleanExtra(Phone.EXTRA_KEY_ALERT_SHOW, false)) {