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

Commit 20d7badf authored by Abdelrahman Daim's avatar Abdelrahman Daim
Browse files

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: default avatarAbdelrahman Daim <adaim@meta.com>
parent cfe1e76d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2375,7 +2375,7 @@ EGLBoolean eglGetFrameTimestampsANDROIDImpl(EGLDisplay dpy, EGLSurface surface,
        case 0:
            return EGL_TRUE;
        case -ENOENT:
            return setError(EGL_BAD_ACCESS, (EGLBoolean)EGL_FALSE);
            return setErrorQuiet(EGL_BAD_ACCESS, (EGLBoolean)EGL_FALSE);
        case -ENOSYS:
            return setError(EGL_BAD_SURFACE, (EGLBoolean)EGL_FALSE);
        case -EINVAL: