[cr140][Android] Removed activityLifecycleDispatcher from IdentityDiscController.ctor
Chromium change: https://source.chromium.org/chromium/chromium/src/+/2d3fa6fd4d0d3efbc19271e122458aa3695a3c3e [Signin][Android] Update createWithoutBadge be created after native In previous Cls profileDataCache was updated to require native by adding an identityManager object in the constructor. This CL updates profileDataCache#createWithoutBadge to use this constructor. IdentityDiscController will now show the button only if the profile has been initialized. Bug: 342205162 Change-Id: Iba6741426576ee3dde9e8d3dc76901c1294a49d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6772490
This commit is contained in:
+2
-5
@@ -8,16 +8,13 @@ package org.chromium.chrome.browser.identity_disc;
|
||||
import android.content.Context;
|
||||
|
||||
import org.chromium.base.supplier.ObservableSupplier;
|
||||
import org.chromium.chrome.browser.lifecycle.ActivityLifecycleDispatcher;
|
||||
import org.chromium.chrome.browser.profiles.Profile;
|
||||
|
||||
/** Brave's implementation for IdentityDiscController. */
|
||||
public class BraveIdentityDiscController extends IdentityDiscController {
|
||||
public BraveIdentityDiscController(
|
||||
Context context,
|
||||
ActivityLifecycleDispatcher activityLifecycleDispatcher,
|
||||
ObservableSupplier<Profile> profileSupplier) {
|
||||
super(context, activityLifecycleDispatcher, profileSupplier);
|
||||
Context context, ObservableSupplier<Profile> profileSupplier) {
|
||||
super(context, profileSupplier);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user