summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2024-10-03 03:42:49 +0000
committer Vishnu Nair <vishnun@google.com> 2024-10-03 15:52:40 +0000
commitdfee5a2c360f4660dfad53bfd06d7923f98e242e (patch)
treec3aa5638ace0a392c72140e3230ab5e0a907dd53 /libs/gui/SurfaceComposerClient.cpp
parentf151262626f1c08a104cc35d9864493ea8a72dec (diff)
Fix rounding error when constructing Rect from FloatRect
Current rounding logic does not handle negative values correctly. FloatRect(-1080,...) is converted to Rect(-1079,...) Fix this by using the standard rounding function. Flag: EXEMPT build error (b/350967139) Bug: 310950423 Test: presubmit Change-Id: Ib8c5c393040149225e5b2bc858c21894e306a456
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions