[Android] SearchEngineAdapter.sortAndFilterUnnecessaryTemplateUrl has no shouldShowUpdatedSettings arg

https://source.chromium.org/chromium/chromium/src/+/17b1d05d2ccda19c3ebd903075227bc8e851acf0

	[waffle]Remove search_engines::IsChoiceScreenFlagEnabled()

	Remove the function and related calls and params. This is because the
	kSearchEngineChoiceTrigger feature is now fully launched.

	Fixed: b:364815974
	Change-Id: I1b3c253c656c76246fae96486b2863632878f17a
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5837290
This commit is contained in:
AlexeyBarabash
2024-10-03 17:06:27 +01:00
committed by Claudio DeSouza
parent a4aabf940f
commit 955657ca82
@@ -44,8 +44,7 @@ public class BraveBaseSearchEngineAdapter extends BaseAdapter {
public static void sortAndFilterUnnecessaryTemplateUrl(
List<TemplateUrl> templateUrls,
TemplateUrl defaultSearchEngine,
boolean isEeaChoiceCountry,
boolean shouldShowUpdatedSettings) {
boolean isEeaChoiceCountry) {
int recentEngineNum = 0;
long displayTime =
System.currentTimeMillis() - SearchEngineAdapter.MAX_DISPLAY_TIME_SPAN_MS;