ThermalManagerService: validate input for getThermalHeadroom API
The getThermalHeadroom API only allows 0-60 seconds as the input value. Return Float.NaN and print warning logs when users input out-of-range values. Add testcase testGetThermalHeadroomInputRange. Bug: 235192825 Test: atest ThermalManagerServiceTest Change-Id: I5d22672545961ff148be89620eecd9d03fbbdd29
Loading
Please register or sign in to comment