From 19e8d841c422e0e497a27b1ea82fbedb1998330e Mon Sep 17 00:00:00 2001 From: samartnik Date: Thu, 30 Jul 2020 14:57:14 -0400 Subject: [PATCH] [Android] Changed access type for getSearchEngineSourceType This fixes crash on debug build --- .../search_engines/settings/BraveBaseSearchEngineAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/java/org/chromium/chrome/browser/search_engines/settings/BraveBaseSearchEngineAdapter.java b/android/java/org/chromium/chrome/browser/search_engines/settings/BraveBaseSearchEngineAdapter.java index 0e31c9ea66f3..840780bf5d73 100644 --- a/android/java/org/chromium/chrome/browser/search_engines/settings/BraveBaseSearchEngineAdapter.java +++ b/android/java/org/chromium/chrome/browser/search_engines/settings/BraveBaseSearchEngineAdapter.java @@ -68,7 +68,7 @@ public static void sortAndFilterUnnecessaryTemplateUrl( } } - private static @SearchEngineAdapter.TemplateUrlSourceType int getSearchEngineSourceType( + public static @SearchEngineAdapter.TemplateUrlSourceType int getSearchEngineSourceType( TemplateUrl templateUrl, TemplateUrl defaultSearchEngine) { if (templateUrl.getIsPrepopulated()) { return SearchEngineAdapter.TemplateUrlSourceType.PREPOPULATED;