diff --git a/android/java/org/chromium/chrome/browser/ntp/NtpUtil.java b/android/java/org/chromium/chrome/browser/ntp/NtpUtil.java index d8a37b7bddc5..3e0b199a9b1a 100644 --- a/android/java/org/chromium/chrome/browser/ntp/NtpUtil.java +++ b/android/java/org/chromium/chrome/browser/ntp/NtpUtil.java @@ -5,7 +5,6 @@ package org.chromium.chrome.browser.ntp; -import org.chromium.chrome.browser.day_zero.DayZeroHelper; import org.chromium.chrome.browser.preferences.ChromeSharedPreferences; import org.chromium.chrome.browser.settings.AppearancePreferences; import org.chromium.chrome.browser.settings.BackgroundImagesPreferences; @@ -35,8 +34,6 @@ public static void setDisplayBraveStats(boolean shouldDisplayBraveStats) { public static boolean shouldShowRewardsIcon() { return ChromeSharedPreferences.getInstance() - .readBoolean( - AppearancePreferences.PREF_SHOW_BRAVE_REWARDS_ICON, - true); + .readBoolean(AppearancePreferences.PREF_SHOW_BRAVE_REWARDS_ICON, true); } } diff --git a/browser/day_zero_browser_ui_expt/day_zero_browser_ui_expt_manager.cc b/browser/day_zero_browser_ui_expt/day_zero_browser_ui_expt_manager.cc index 27ca7b265648..ce64e280f0ba 100644 --- a/browser/day_zero_browser_ui_expt/day_zero_browser_ui_expt_manager.cc +++ b/browser/day_zero_browser_ui_expt/day_zero_browser_ui_expt_manager.cc @@ -132,7 +132,7 @@ void DayZeroBrowserUIExptManager::SetForDayZeroBrowserUI(Profile* profile) { Java_DayZeroHelper_setDayZeroExptAndroid( base::android::AttachCurrentThread(), false); #endif // #BUILDFLAG(IS_ANDROID) -prefs->SetDefaultPrefValue(ntp_background_images::prefs:: + prefs->SetDefaultPrefValue(ntp_background_images::prefs:: kNewTabPageShowSponsoredImagesBackgroundImage, base::Value(should_show_ntp_si)); }