Skip to content

Commit

Permalink
Resolve presubmit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
deeppandya committed Nov 6, 2024
1 parent ac22a46 commit a7aa3e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions android/java/org/chromium/chrome/browser/ntp/NtpUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit a7aa3e6

Please sign in to comment.