summaryrefslogtreecommitdiff
path: root/include/android/configuration.h
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2021-01-26 14:55:48 -0800
committer Elliott Hughes <enh@google.com> 2021-02-01 13:34:00 -0800
commit23e82b4798681581e3412b2b454ff86a76d078f8 (patch)
tree057f613c77333368db867e8e4ad5b5e051387ed4 /include/android/configuration.h
parent87eb2c419ef230366ccbdbe980c4f49b7a70f372 (diff)
Remove __ANDROID_API__ #if checks.
__INTRODUCED_IN() does the right thing automatically now. Bug: http://b/178449269 Test: treehugger Change-Id: I94d2ad6fafb6d907793a416db82a9e56f4f61d1c Merged-In: I94d2ad6fafb6d907793a416db82a9e56f4f61d1c
Diffstat (limited to 'include/android/configuration.h')
-rw-r--r--include/android/configuration.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/android/configuration.h b/include/android/configuration.h
index ccf3e59066..88019ae054 100644
--- a/include/android/configuration.h
+++ b/include/android/configuration.h
@@ -645,14 +645,12 @@ int32_t AConfiguration_getScreenLong(AConfiguration* config);
*/
void AConfiguration_setScreenLong(AConfiguration* config, int32_t screenLong);
-#if __ANDROID_API__ >= 30
/**
* Return the current ACONFIGURATION_SCREENROUND_* set in the configuration.
*
* Available since API level 30.
*/
int32_t AConfiguration_getScreenRound(AConfiguration* config) __INTRODUCED_IN(30);
-#endif
/**
* Set the current screen round in the configuration.
@@ -712,7 +710,6 @@ int32_t AConfiguration_getSmallestScreenWidthDp(AConfiguration* config);
*/
void AConfiguration_setSmallestScreenWidthDp(AConfiguration* config, int32_t value);
-#if __ANDROID_API__ >= 17
/**
* Return the configuration's layout direction, or
* ACONFIGURATION_LAYOUTDIR_ANY if not set.
@@ -727,7 +724,6 @@ int32_t AConfiguration_getLayoutDirection(AConfiguration* config) __INTRODUCED_I
* Available since API level 17.
*/
void AConfiguration_setLayoutDirection(AConfiguration* config, int32_t value) __INTRODUCED_IN(17);
-#endif /* __ANDROID_API__ >= 17 */
/**
* Perform a diff between two configurations. Returns a bit mask of