summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Santiago Etchebehere <santie@google.com> 2024-01-24 15:59:30 -0800
committer Santiago Etchebehere <santie@google.com> 2024-01-26 17:00:34 +0000
commit82467e5c1f56d1b3678fe93133d4fb7ae18e7782 (patch)
tree53753e9e78a6f1dd89ad981eea9cbde9bbef0f27 /libs/androidfw/FileStream.cpp
parentc006e2744ef7deac82541cf39a6bd4227f538bc0 (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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions