summaryrefslogtreecommitdiff
path: root/libc/include/android/api-level.h
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2020-03-26 16:18:13 -0700
committerDan Albert <danalbert@google.com>2020-04-09 12:38:53 -0700
commit14dcbf89ce6743ba037c8eddda1c6774a1137672 (patch)
tree42053fec96a1f7bcf3e4c176970dd3ea7f0eefeb /libc/include/android/api-level.h
parente05c449cd860b68e6339f71c98dd01748c22c01e (diff)
Add API constant for S.
Test: treehugger Bug: http://b/152037166 Change-Id: I9039377e80574cd59e13726a12072fe3002df67d
Diffstat (limited to 'libc/include/android/api-level.h')
-rw-r--r--libc/include/android/api-level.h3
1 files changed, 3 insertions, 0 deletions
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