DisplayModeDirector: fix an arithmetic error
Add a float tolerance when calculating the divisor of a refresh rate. This is needed for example when the display refresh rate is 120.0001 and the max render frame rate is 120.00. Test: atest DisplayModeDirectorTest Bug: 266123304 Change-Id: Ic0c2c81612aaebded9fbeb47771a0a35e5e66212
Loading
Please register or sign in to comment