Fix UseSwitchCompatOrMaterialXml lint errors
This CL replaces android.widget.Switch with androidx.appcompat.widget.SwitchCompat in the keyboard accessory to silence a UseSwitchCompatOrMaterialXml lint error. This is in preparation for rolling the androidx.appcompat to version 1.3.0 Replacing android.widget.Switch with androidx.appcompat.widget.SwitchCompat for the keyboard accessoory does cause very minor visual changes. (I only noticed them by comparing screenshots using an image editor) This CL also suppresses the UseSwitchCompatOrMaterialXml lint error for R.id.incognito_switch The lint error is suppressed because using androidx.appcompat.widget.SwitchCompat causes noticeable visual changes. BUG=1064277 Change-Id: I976c675b057451aa4b9895cb06b9d665223ca0f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2569962 Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:Friedrich [CET] <fhorschig@chromium.org> Reviewed-by:
Ioana Pandele <ioanap@chromium.org> Reviewed-by:
Yusuf Ozuysal <yusufo@chromium.org> Cr-Commit-Position: refs/heads/master@{#833637}
Showing
Please register or sign in to comment