The peak refresh rate will not be guaranteed to be integer, but config_defaultPeakRefreshRate only takes integer into the comparison. To expose the smooth display is enabled by default in Settings, the patch corrects the check of peak refresh rate with proper rounding. Bug: 185102566 Test: Enable smooth display by default in Settings Change-Id: I658ce22cf0b0a108c4b721e3e5320caf9c379639
7.0 KiB
7.0 KiB