commit | 95a2dc81c0df6f60e7b079cec4edd3208d69e5a7 | [log] [tgz] |
---|---|---|
author | Merissa Mitchell <liyingtan@google.com> | Fri Mar 24 16:26:40 2023 -0700 |
committer | Merissa Mitchell <liyingtan@google.com> | Fri Mar 24 19:15:37 2023 -0700 |
tree | 2fd7133571fe9bbe27517cfa3d4828f6552f66cb | |
parent | 5c1bf81f55610dc5836bca395e01c481ec4248d3 [diff] |
Add caption bar consideration to SnapshotTaskTests. This CL takes into account the caption bar (if present) when comparing the number of matching pixels in SnapshotTaskTests. The comparison is not perfect if the snapshot is scaled down, but is sufficient for testing purposes. Bug: 269712380 Test: atest SnapshotTaskTests Change-Id: Ie113e41b6e1feaef082aad2c0fabec818f747eed Merged-In: Ie113e41b6e1feaef082aad2c0fabec818f747eed