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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java

Issue 1101373002: [Sync] Fix passphrase prompt for legacy accounts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix lint Created 5 years, 8 months 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
Index: chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java b/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
index b5268517e3757c37f2a76c13eaf5480d0fdcc4d8..5bb269015bbd0c7ada247f6ee7b785b9cbe51cb1 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
@@ -72,10 +72,7 @@ public class SyncNotificationController implements ProfileSyncService.SyncStateC
} else if (mProfileSyncService.isSyncInitialized()
&& mProfileSyncService.isPassphraseRequiredForDecryption()) {
switch (mProfileSyncService.getPassphraseType()) {
- case IMPLICIT_PASSPHRASE:
- message = R.string.sync_need_password;
- intent = createPasswordIntent();
- break;
+ case IMPLICIT_PASSPHRASE: // Falling through intentionally.
case FROZEN_IMPLICIT_PASSPHRASE: // Falling through intentionally.
case CUSTOM_PASSPHRASE:
message = R.string.sync_need_passphrase;

Powered by Google App Engine
This is Rietveld 408576698