-
Notifications
You must be signed in to change notification settings - Fork 965
Fixed issue of unable to switch on the passwords sync on Android #26876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…wed_ always true. Fixed issue of unable to switch on the passwords sync on Android;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change LGTM!
Going to do an admin merge as some of the folks are on PTO and this change can help a lot of folks! |
Hi there this fix has not worked for me - i have updated and now have 1.73.97 and it still does not allow me to toggle the password button - |
Verification PASSED on
Verified that the above fix was working using the STR/Cases outlined via #26876 (comment) as per the following: screen-20241210-120257.mp4 |
At this PR overridden SyncPrefs::SetPasswordSyncAllowed to keep
password_sync_allowed_ always
true; this fixed issue of unable to switch on the passwords sync on Android.For the migration of passwords into Google Account upstream disables syncing of passwords. This is managed by
kPasswordsUseUPMLocalAndSeparateStores
pref with valuesDuring the start of the sync service
kPasswordsUseUPMLocalAndSeparateStores
is checked atChromeSyncClient::IsPasswordSyncAllowed()
If the value is
kOffAndMigrationPending
then password sync is not allowed.At Android UI after switching passwords sync on the refresh happens and
SyncPrefs::GetSelectedTypesForSyncingUser
is invoked, which excludes passwords from the selected types linkand the switch control was turned back into off state.
Resolves brave/brave-browser#36190
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
Test plan on Nightly channel
Nightly v1.67.52 (Chromium 124.0.6367.91)
,Bravearm64Universal.apk
Nightly v1.75.69 (Chromium 132.0.6834.15)
,Bravearm64Universal.apk
Test plan on Nightly channel
For
Release,
basically run through the exact same STR/Cases mentioned above but use the following versions:1.73.97 Chromium 131.0.6778.108
via https://github.com/brave/brave-browser/releases/tag/v1.73.97Once you've reproduced the issue, apply/upgrade to the new
1.73.x
with the fix.