From fa7eb39ffc18f9436d8d602fa5124607bb6f5491 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 5 Feb 2021 13:26:52 -0800 Subject: Remove __ANDROID_API__ #if checks. __INTRODUCED_IN() does the right thing automatically now. Bug: http://b/178449269 Test: treehugger Change-Id: I1c186a42ddf24e654c697383add6cc02f35b5ddb --- module_ndk_libs/libnativehelper/include/android/file_descriptor_jni.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'module_ndk_libs') 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 /** @} */ -- cgit v1.2.3