summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2024-11-05 19:11:25 -0800
committer Ady Abraham <adyabr@google.com> 2024-11-05 22:09:33 -0800
commita5fe6975828e6daa9c54684fa64a56a42a22e3d0 (patch)
treee55688fd94b82612ad759689407b9f791f6f624a /libs/androidfw/ResourceTimer.cpp
parente01bd63547de3b923436f8390c0857cdd6da6238 (diff)
DisplayInfo: don't check renderFrameRate for equal()
equal() already checks getRefreshRate in order to determine if the DisplayInfo differs in the refresh rate the app would experience. Checking for renderFrameRate is redundant. This change avoids a duplicate onDisplayChanged event when both the render frame rate and the the frame rate override change. For example, the following are considered the same from the app perspective: - renderFrameRate=30; frameRateOverride=30 - renderFrameRate=60; frameRateOverride=30 Bug: 377240935 Test: Running TouchLatency and expanding notification shade Flag: EXEMPT bugfix Change-Id: Ic57a785401c515f65a6e89009de43e33c949f7dc
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions