Add new class ColorTrackingIconView to deduplicate subclasses.
Upon investigating the associated bug, I noticed that there are a few subclasses of ImageView that exist solely to override OnThemeChanged. Since I also needed a subclass like this to fix the bug, I decided to make a utility class to eliminate this ad-hoc subclassing, in the style of ColorTrackingVectorImageButton (in image_button_factory.cc). Bug: 1125510 Change-Id: I975a9b6a4676bb6b2a454172f211f406934d7869 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2397737 Commit-Queue: Bret Sepulveda <bsep@chromium.org> Reviewed-by:Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#804901}
Showing
Please register or sign in to comment