Merge pull request #10590 from brave/default_search_provider_sk

Updated default search providers in KR
This commit is contained in:
Simon Hong
2023-01-24 20:52:59 +09:00
committed by GitHub
20 changed files with 131 additions and 34 deletions
@@ -84,6 +84,8 @@ public class OnboardingPrefManager {
private static final String STARTPAGE = "Startpage";
public static final String YANDEX = "Yandex";
public static final String ECOSIA = "Ecosia";
public static final String DAUM = "Daum";
public static final String NAVER = "\ub124\uc774\ubc84";
private OnboardingPrefManager() {
mSharedPreferences = ContextUtils.getAppSharedPreferences();
@@ -273,6 +275,8 @@ public class OnboardingPrefManager {
put(STARTPAGE, SearchEngineEnum.STARTPAGE);
put(YANDEX, SearchEngineEnum.YANDEX);
put(ECOSIA, SearchEngineEnum.ECOSIA);
put(DAUM, SearchEngineEnum.DAUM);
put(NAVER, SearchEngineEnum.NAVER);
}
};
@@ -23,8 +23,9 @@ public enum SearchEngineEnum {
YANDEX(R.drawable.yandex, SearchEngineEnumConstants.SEARCH_YANDEX_ID, R.string.yandex_desc),
STARTPAGE(R.drawable.search_engine_startpage, SearchEngineEnumConstants.SEARCH_STARTPAGE_ID,
R.string.startpage_desc),
ECOSIA(R.drawable.ecosia, SearchEngineEnumConstants.SEARCH_ECOSIA_ID,
R.string.ecosia_desc);
ECOSIA(R.drawable.ecosia, SearchEngineEnumConstants.SEARCH_ECOSIA_ID, R.string.ecosia_desc),
DAUM(R.drawable.daum, SearchEngineEnumConstants.SEARCH_DAUM_ID, R.string.daum_desc),
NAVER(R.drawable.naver, SearchEngineEnumConstants.SEARCH_NAVER_ID, R.string.naver_desc);
private int icon;
private int id;
@@ -57,5 +58,7 @@ public enum SearchEngineEnum {
static final int SEARCH_STARTPAGE_ID = 5;
static final int SEARCH_YANDEX_ID = 6;
static final int SEARCH_ECOSIA_ID = 7;
static final int SEARCH_DAUM_ID = 8;
static final int SEARCH_NAVER_ID = 9;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB