Download location: fix radio button double selection.
DownloadLocationPreference directly uses native pref to persist the selection result. However the native pref may have a delay when persisting the data, and the UI may refresh the view before native pref is done, which causes double radio button selection. This CL caches the selection ID so the UI can always get fresh data. Bug: 842464,792775 Change-Id: I39bec3a61ea2c7f0e656658cfc41a62e12956560 Reviewed-on: https://chromium-review.googlesource.com/1070480 Commit-Queue: Xing Liu <xingliu@chromium.org> Reviewed-by:Min Qin <qinmin@chromium.org> Reviewed-by:
David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#561368}
Showing
Please register or sign in to comment