Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f05253c authored by Dan Albert's avatar Dan Albert
Browse files

Remove an API that doesn't exist.

Apparently this was removed in Jelly Bean:
https://stackoverflow.com/q/24312632/632035. Keeping the decl in the
NDK just confuses people: https://stackoverflow.com/q/49646596/632035.

Test: make checkbuild
Bug: None
Change-Id: Id6cfc5df8418e1c872697ff64f9b86fe135b9dc8
parent e048f8bc
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -44,16 +44,6 @@ extern "C" {
 */
ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);

#if __ANDROID_API__ >= 13
/**
 * Return the ANativeWindow associated with a Java SurfaceTexture object,
 * for interacting with it through native code.  This acquires a reference
 * on the ANativeWindow that is returned; be sure to use ANativeWindow_release()
 * when done with it so that it doesn't leak.
 */
ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
#endif

#if __ANDROID_API__ >= 26
/**
 * Return a Java Surface object derived from the ANativeWindow, for interacting