summaryrefslogtreecommitdiff
path: root/module_ndk_libs
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-02-05 13:26:52 -0800
committerElliott Hughes <enh@google.com>2021-02-05 13:26:52 -0800
commitfa7eb39ffc18f9436d8d602fa5124607bb6f5491 (patch)
tree22330fa601c14137f80b09d15a3064bc20c19cc1 /module_ndk_libs
parenta16014a605b72470818ad6cefae92c2f85650038 (diff)
downloadextras-fa7eb39ffc18f9436d8d602fa5124607bb6f5491.tar.gz
Remove __ANDROID_API__ #if checks.
__INTRODUCED_IN() does the right thing automatically now. Bug: http://b/178449269 Test: treehugger Change-Id: I1c186a42ddf24e654c697383add6cc02f35b5ddb
Diffstat (limited to 'module_ndk_libs')
-rw-r--r--module_ndk_libs/libnativehelper/include/android/file_descriptor_jni.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/module_ndk_libs/libnativehelper/include/android/file_descriptor_jni.h b/module_ndk_libs/libnativehelper/include/android/file_descriptor_jni.h
index eeab09e3..793f7bcf 100644
--- a/module_ndk_libs/libnativehelper/include/android/file_descriptor_jni.h
+++ b/module_ndk_libs/libnativehelper/include/android/file_descriptor_jni.h
@@ -31,8 +31,6 @@
__BEGIN_DECLS
-#if __ANDROID_API__ >= __ANDROID_API_S__
-
/**
* Returns a new java.io.FileDescriptor.
*
@@ -81,8 +79,6 @@ int AFileDescriptor_getFD(JNIEnv* env, jobject fileDescriptor) __INTRODUCED_IN(3
*/
void AFileDescriptor_setFD(JNIEnv* env, jobject fileDescriptor, int fd) __INTRODUCED_IN(31);
-#endif // __ANDROID_API__ >= __ANDROID_API_S__
-
__END_DECLS
/** @} */