diff --git a/app/src/main/java/it/dhd/oxygencustomizer/ui/fragments/mods/misc/MemcFragment.java b/app/src/main/java/it/dhd/oxygencustomizer/ui/fragments/mods/misc/MemcFragment.java index 1fe25c950..24ee37092 100644 --- a/app/src/main/java/it/dhd/oxygencustomizer/ui/fragments/mods/misc/MemcFragment.java +++ b/app/src/main/java/it/dhd/oxygencustomizer/ui/fragments/mods/misc/MemcFragment.java @@ -108,7 +108,9 @@ public void onCreatePreferences(Bundle savedInstanceState, String rootKey) { mVideoOsieSupported = findPreference("video_osie_support"); mMemcMode = findPreference("memc_mode"); - requireContext().sendBroadcast(new Intent(ACTIONS_MEMC_FEATURE_GET)); + Intent intent = new Intent(ACTIONS_MEMC_FEATURE_GET); + intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); + requireContext().sendBroadcast(intent); }