summaryrefslogtreecommitdiff
path: root/include/android/thermal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/android/thermal.h')
-rw-r--r--include/android/thermal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/android/thermal.h b/include/android/thermal.h
index fa168cdecb..7f9d2edfc7 100644
--- a/include/android/thermal.h
+++ b/include/android/thermal.h
@@ -85,6 +85,7 @@ enum AThermalStatus {
/** Need shutdown immediately. */
ATHERMAL_STATUS_SHUTDOWN = 6,
};
+typedef enum AThermalStatus AThermalStatus;
/**
* An opaque type representing a handle to a thermal manager.
@@ -240,6 +241,7 @@ struct AThermalHeadroomThreshold {
float headroom;
AThermalStatus thermalStatus;
};
+typedef struct AThermalHeadroomThreshold AThermalHeadroomThreshold;
/**
* Gets the thermal headroom thresholds for all available thermal status.