Skip to content

Commit

Permalink
[Android] Java code adjustments for C114 upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
samartnik authored and cdesouza-chromium committed Apr 28, 2023
1 parent 565b15d commit 7b3ad34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public boolean isSignOutAllowed() {
}

@Override
public boolean isSigninSupported() {
public boolean isSigninSupported(boolean requireUpdatedPlayServices) {
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import org.chromium.chrome.browser.flags.ChromeFeatureList;

public final class BraveReturnToChromeUtil {
public static boolean shouldShowTabSwitcher(final long lastBackgroundedTimeMillis) {
public static boolean shouldShowTabSwitcher(final long lastTimeMillis, boolean isTablet) {
if (!ChromeFeatureList.sStartSurfaceReturnTime.isEnabled()) {
return false;
}

return ReturnToChromeUtil.shouldShowTabSwitcher(lastBackgroundedTimeMillis);
return ReturnToChromeUtil.shouldShowTabSwitcher(lastTimeMillis, isTablet);
}
}

0 comments on commit 7b3ad34

Please sign in to comment.