summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormelandory <melandory@chromium.org>2015-04-09 06:48:50 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-09 13:49:20 +0000
commit2e188ab26e23a32cd50353626c9251801ac3e762 (patch)
tree8fb333e8afe38148711b162861437fa5ea81e370
parentaee072743f8339a3520e74ed08818f5a981561a3 (diff)
downloadchromium_src-2e188ab26e23a32cd50353626c9251801ac3e762.zip
chromium_src-2e188ab26e23a32cd50353626c9251801ac3e762.tar.gz
chromium_src-2e188ab26e23a32cd50353626c9251801ac3e762.tar.bz2
Settings link in smartlock infobars redirect user to Password manager preferences page.
Redirect user to Password manager preferences page, where auto sign in checkbox is located. BUG=454815 R=bauerb@chromium.org Review URL: https://codereview.chromium.org/1076813002 Cr-Commit-Position: refs/heads/master@{#324428}
-rw-r--r--chrome/android/java/src/org/chromium/chrome/browser/infobar/OverflowSelector.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/OverflowSelector.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/OverflowSelector.java
index b41d005..8eed872 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/OverflowSelector.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/OverflowSelector.java
@@ -14,6 +14,7 @@ import android.widget.PopupMenu.OnMenuItemClickListener;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.preferences.PreferencesLauncher;
+import org.chromium.chrome.browser.preferences.password.ManageSavedPasswordsPreferences;
import org.chromium.chrome.browser.widget.ButtonCompat;
/**
@@ -56,9 +57,8 @@ public class OverflowSelector {
private static boolean processMenuItem(MenuItem item, Context context) {
if (item.getItemId() == R.id.settings) {
- // TODO(melandory) When Smart Lock setting will be implemented for Chrome on Android
- // this code should open settings fragment with Smart Lock parameters.
- PreferencesLauncher.launchSettingsPage(context, null);
+ PreferencesLauncher.launchSettingsPage(
+ context, ManageSavedPasswordsPreferences.class.getName());
return true;
}
// TODO(melandory): Learn more should open link to help center