|
|
Created:
5 years, 10 months ago by Evan Stade Modified:
5 years, 9 months ago CC:
browser-components-watch_chromium.org, chromium-reviews, dbeam+watch-options_chromium.org, estade+watch_chromium.org, michaelpg+watch-options_chromium.org, rouslan+autofillwatch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionRefresh the autofill wallet switch summary as needed.
(in the top level Autofill Preferences page)
BUG=461006
Committed: https://crrev.com/7c665abd53c837cffaab0e0b62b2a2960dc58888
Cr-Commit-Position: refs/heads/master@{#318828}
Patch Set 1 #Patch Set 2 : . #
Total comments: 2
Patch Set 3 : handle sync sign in/out #Patch Set 4 : resolve merge conflict #Messages
Total messages: 21 (8 generated)
estade@chromium.org changed reviewers: + aurimas@chromium.org
The CQ bit was checked by estade@chromium.org
The CQ bit was unchecked by estade@chromium.org
On 2015/02/23 20:08:13, Evan Stade wrote: ping
lgtm
The CQ bit was checked by estade@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/952613003/20001
estade@chromium.org changed reviewers: + newt@chromium.org
+newt for OWNERS
https://codereview.chromium.org/952613003/diff/20001/chrome/android/java/src/... File chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillPreferences.java (right): https://codereview.chromium.org/952613003/diff/20001/chrome/android/java/src/... chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillPreferences.java:136: if (!PersonalDataManager.isWalletImportFeatureAvailable()) { Could the value of PersonalDataManager.isWalletImportFeatureAvailable() change? If it changed from false to true, this would crash on line walletPref, since PREF_AUTOFILL_WALLET would have been previously removed and walletPref would be null. If it can't change, then let's put the logic to remove the preference in the onCreate() method and just change the summary in this method (with a null check, of course).
*would crash on line 139
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
https://codereview.chromium.org/952613003/diff/20001/chrome/android/java/src/... File chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillPreferences.java (right): https://codereview.chromium.org/952613003/diff/20001/chrome/android/java/src/... chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillPreferences.java:136: if (!PersonalDataManager.isWalletImportFeatureAvailable()) { On 2015/02/27 01:05:22, newt wrote: > Could the value of PersonalDataManager.isWalletImportFeatureAvailable() change? > If it changed from false to true, this would crash on line walletPref, since > PREF_AUTOFILL_WALLET would have been previously removed and walletPref would be > null. > > If it can't change, then let's put the logic to remove the preference in the > onCreate() method and just change the summary in this method (with a null check, > of course). Indeed it can change, for example if you sign in or out of sync. Updated the code to handle such changes.
lgtm
The CQ bit was checked by estade@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from aurimas@chromium.org, newt@chromium.org Link to the patchset: https://codereview.chromium.org/952613003/#ps60001 (title: "resolve merge conflict")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/952613003/60001
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/7c665abd53c837cffaab0e0b62b2a2960dc58888 Cr-Commit-Position: refs/heads/master@{#318828} |