Don't toggle image-dominant when the data model is empty.
When adjusting the search parameters, the data model briefly has no entries. Updating the image-dominant calculation during this interval causes the image-dominant to be disabled, causing a flicker of the file names if the contents is image-dominant. Bug: 483718 Change-Id: I099a013e5f05c36902be67aeffc40edbc718be26 Reviewed-on: https://chromium-review.googlesource.com/c/1341736 Commit-Queue: Sam McNally <sammc@chromium.org> Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/master@{#609228}
Showing
Please register or sign in to comment