Skip to content

Commit 20d7bad

Browse files
committed
Suppress logcat error messages when frame timestamp is not found
Summary: It is normal that the frame timestamp is not available when the query is performed. While printing a logcat error message for every failure would spam the log, suppress it. Test: Successful Build on master branch Change-Id: I19873b093283c1793467a66658cd06d2c4e988d5 Signed-off-by: Abdelrahman Daim <adaim@meta.com>
1 parent cfe1e76 commit 20d7bad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opengl/libs/EGL/egl_platform_entries.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2375,7 +2375,7 @@ EGLBoolean eglGetFrameTimestampsANDROIDImpl(EGLDisplay dpy, EGLSurface surface,
23752375
case 0:
23762376
return EGL_TRUE;
23772377
case -ENOENT:
2378-
return setError(EGL_BAD_ACCESS, (EGLBoolean)EGL_FALSE);
2378+
return setErrorQuiet(EGL_BAD_ACCESS, (EGLBoolean)EGL_FALSE);
23792379
case -ENOSYS:
23802380
return setError(EGL_BAD_SURFACE, (EGLBoolean)EGL_FALSE);
23812381
case -EINVAL:

0 commit comments

Comments
 (0)