Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5051)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/signin/AccountIdProvider.java

Issue 1553713002: rm notification about lack of Google Play Services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/signin/AccountIdProvider.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountIdProvider.java b/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountIdProvider.java
index 902c22b0e78073a0f3c9c04fb2ee27c8fe7481b1..731a270cc254d7881fb24a87c0c100c3f251f608 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountIdProvider.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountIdProvider.java
@@ -60,10 +60,8 @@ public class AccountIdProvider {
* the user to update Google Play services, else a System notification is shown.
Ian Wen 2016/01/04 03:55:31 You should update this javadoc as well.
*/
public boolean canBeUsed(Context ctx, @Nullable Activity activity) {
- UserRecoverableErrorHandler errorHandler = activity != null
- ? new UserRecoverableErrorHandler.ModalDialog(activity)
- : new UserRecoverableErrorHandler.SystemNotification();
- return ExternalAuthUtils.getInstance().canUseGooglePlayServices(ctx, errorHandler);
+ return ExternalAuthUtils.getInstance().canUseGooglePlayServices(ctx,
+ new UserRecoverableErrorHandler.Silent());
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698