Skip to content

Commit

Permalink
MemcFragment: use intent foreground to improve speed on load.
Browse files Browse the repository at this point in the history
Signed-off-by: DHD2280 <[email protected]>
  • Loading branch information
DHD2280 committed Nov 16, 2024
1 parent 0cfc884 commit 09c24b2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}

Expand Down

0 comments on commit 09c24b2

Please sign in to comment.