Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b5aebd01 authored by h00013079's avatar h00013079
Browse files

Fix CtsOsTestCases.android.os.cts.PowerManager_ThermalTest#testGetThermalHeadroomThresholds errors



ThermalManagerService service updateThresholds function, when initializing HeadroomThresholds,
do mask processing for SEVERE. Cause GetThermalHeadroomThresholds interface return value NAN in SEVERE patients,
so testGetThermalHeadroomThresholds CTS case fails.

The patch in updateThresholds function delete "shielding SEVERE logic", making testGetThermalHeadroomThresholds CTS test pass

Bug:361828367

Change-Id: Idb2241ae39a5aa262fb6221a3fbb08771be5387a
Signed-off-by: default avatar <huangdezhi@hihonor.com>
parent f740e50a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment