Skip to content

Commit

Permalink
Remove search engine onboarding for JP
Browse files Browse the repository at this point in the history
  • Loading branch information
deeppandya committed Feb 21, 2025
1 parent 72f136c commit 1707d34
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,8 @@ public void onUrlFocusChange(boolean hasFocus) {
&& UrlUtilities.isNtpUrl(braveActivity.getActivityTab().getUrl().getSpec())
&& !OnboardingPrefManager.getInstance().hasSearchEngineOnboardingShown()
&& OnboardingPrefManager.getInstance().getUrlFocusCount() == 1
&& !BRAVE_SEARCH_ENGINE_DEFAULT_REGIONS.contains(countryCode)) {
&& !BRAVE_SEARCH_ENGINE_DEFAULT_REGIONS.contains(countryCode)
&& !countryCode.equals("JP")) {
Intent searchActivityIntent = new Intent(context, SearchActivity.class);
searchActivityIntent.setAction(Intent.ACTION_VIEW);
context.startActivity(searchActivityIntent);
Expand Down

0 comments on commit 1707d34

Please sign in to comment.