From 14dcbf89ce6743ba037c8eddda1c6774a1137672 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 26 Mar 2020 16:18:13 -0700 Subject: Add API constant for S. Test: treehugger Bug: http://b/152037166 Change-Id: I9039377e80574cd59e13726a12072fe3002df67d --- libc/include/android/api-level.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/include/android/api-level.h') diff --git a/libc/include/android/api-level.h b/libc/include/android/api-level.h index 1b8af78cd..50cb61a6b 100644 --- a/libc/include/android/api-level.h +++ b/libc/include/android/api-level.h @@ -110,6 +110,9 @@ __BEGIN_DECLS /** Names the "R" API level (30), for comparison against `__ANDROID_API__`. */ #define __ANDROID_API_R__ 30 +/** Names the "S" API level (31), for comparison against `__ANDROID_API__`. */ +#define __ANDROID_API_S__ 31 + /** * Returns the `targetSdkVersion` of the caller, or `__ANDROID_API_FUTURE__` * if there is no known target SDK version (for code not running in the -- cgit v1.2.3