[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:
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user