[Android] Fix data types filtering in ClearBrowsingDataPreferences
This CL fixes a crash in ClearBrowsingDataPreferences that was introduced in https://crrev.com/c/1215202 by erroneously replacing getDialogOptions with getSelectedOptions. This CL also changes the return type of getDialogOptions to list to keep using removeAll. Bug: 887830 Change-Id: I22491ebd4a6b027dfaa61403e618df81f26a48a2 Reviewed-on: https://chromium-review.googlesource.com/1238218 Commit-Queue: Boris Sazonov <bsazonov@chromium.org> Reviewed-by:Finnur Thorarinsson <finnur@chromium.org> Cr-Commit-Position: refs/heads/master@{#593156}
Showing
Please register or sign in to comment