eglPresentationTimeANDROID moved to EGLExt from EGL14
Bug: 8678160
Change-Id: Id80ae99608bfc745f5619733471c2df48472a47c
diff --git a/tests/tests/media/src/android/media/cts/InputSurface.java b/tests/tests/media/src/android/media/cts/InputSurface.java
index ff6ece1..36ec2c7 100644
--- a/tests/tests/media/src/android/media/cts/InputSurface.java
+++ b/tests/tests/media/src/android/media/cts/InputSurface.java
@@ -17,6 +17,7 @@
package android.media.cts;
import android.opengl.EGL14;
+import android.opengl.EGLExt;
import android.opengl.EGLConfig;
import android.opengl.EGLContext;
import android.opengl.EGLDisplay;
@@ -169,7 +170,7 @@
* Sends the presentation time stamp to EGL.
*/
public void setPresentationTime(long when) {
- EGL14.eglPresentationTimeANDROID(mEGLDisplay, mEGLSurface, when);
+ EGLExt.eglPresentationTimeANDROID(mEGLDisplay, mEGLSurface, when);
}
/**