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

Commit d4b452cd authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix formatting.

These words are meant to be in the code _font_, not in their own
separate code _blocks_. See
https://developer.android.com/ndk/reference/group/thermal#athermal_getthermalheadroom
for the current wrong formatting.

Bug: https://github.com/android/ndk/issues/1933
Test: treehugger
Change-Id: I2a30439bd58dd1435c4efb525a90e06631fbe6cf
parent e88ec57f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -188,13 +188,13 @@ int AThermal_unregisterThermalStatusListener(AThermalManager *manager,
 * Note that this only attempts to track the headroom of slow-moving sensors, such as
 * the skin temperature sensor. This means that there is no benefit to calling this function
 * more frequently than about once per second, and attempted to call significantly
 * more frequently may result in the function returning {@code NaN}.
 * more frequently may result in the function returning `NaN`.
 *
 * In addition, in order to be able to provide an accurate forecast, the system does
 * not attempt to forecast until it has multiple temperature samples from which to
 * extrapolate. This should only take a few seconds from the time of the first call,
 * but during this time, no forecasting will occur, and the current headroom will be
 * returned regardless of the value of {@code forecastSeconds}.
 * returned regardless of the value of `forecastSeconds`.
 *
 * The value returned is a non-negative float that represents how much of the thermal envelope
 * is in use (or is forecasted to be in use). A value of 1.0 indicates that the device is