Remove __ANDROID_API__ guards from thermal.h
__ANDROID_API__ guards are removed in favor of __INTRODUCED_IN macros.
bug: 163288375
bug: 169452730
test: builds
Change-Id: I145a86a5f8143977c8638aa3a3f14324a488fefb
diff --git a/include/android/thermal.h b/include/android/thermal.h
index eb81534..0ea13d3 100644
--- a/include/android/thermal.h
+++ b/include/android/thermal.h
@@ -109,8 +109,6 @@
*/
typedef void (*AThermal_StatusCallback)(void *data, AThermalStatus status);
-#if __ANDROID_API__ >= 30
-
/**
* Acquire an instance of the thermal manager. This must be freed using
* {@link AThermal_releaseManager}.
@@ -179,10 +177,6 @@
int AThermal_unregisterThermalStatusListener(AThermalManager *manager,
AThermal_StatusCallback callback, void *data) __INTRODUCED_IN(30);
-#endif // __ANDROID_API__ >= 30
-
-#if __ANDROID_API__ >= 31
-
/**
* Provides an estimate of how much thermal headroom the device currently has before
* hitting severe throttling.
@@ -224,8 +218,6 @@
float AThermal_getThermalHeadroom(AThermalManager *manager,
int forecastSeconds) __INTRODUCED_IN(31);
-#endif // __ANDROID_API__ >= 31
-
#ifdef __cplusplus
}
#endif