Commit 3c1949c5 authored by Alice Wang's avatar Alice Wang Committed by Commit Bot

[Android][WebSignin] Remove the usage of ChromeActivity in addAccount()

This CL removes the usage of ChromeActivity in
AccountPickerDelegate#addAccount() for context.

Bug: 1125068
Change-Id: I73b82d63352d7d12243bbd9d28ec06455e24c270
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2395755Reviewed-by: default avatarTanmoy Mollik <triploblastic@chromium.org>
Commit-Queue: Alice Wang <aliceywang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804787}
parent ee615a9b
...@@ -108,7 +108,7 @@ public class AccountPickerDelegate implements WebSigninBridge.Listener { ...@@ -108,7 +108,7 @@ public class AccountPickerDelegate implements WebSigninBridge.Listener {
} else { } else {
// AccountManagerFacade couldn't create intent, use SigninUtils to open // AccountManagerFacade couldn't create intent, use SigninUtils to open
// settings instead. // settings instead.
SigninUtils.openSettingsForAllAccounts(mChromeActivity); SigninUtils.openSettingsForAllAccounts(mWindowAndroid.getContext().get());
} }
}); });
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment