commit | 82467e5c1f56d1b3678fe93133d4fb7ae18e7782 | [log] [tgz] |
---|---|---|
author | Santiago Etchebehere <santie@google.com> | Wed Jan 24 15:59:30 2024 -0800 |
committer | Santiago Etchebehere <santie@google.com> | Fri Jan 26 17:00:34 2024 +0000 |
tree | 53753e9e78a6f1dd89ad981eea9cbde9bbef0f27 | |
parent | c006e2744ef7deac82541cf39a6bd4227f538bc0 [diff] |
Use only width to determine largest display when centering the wallpaper Instead of comparing the largest side of one display with the largest of the other (which doesn't always do what we expected), compare just the width, as the offset is only applied to the x axis anyway. Bug: 321041432 Flag: N/A Test: atest WallpaperControllerTests Change-Id: I2495b28d5f620b9de0d804f05dc331fa45e585fa