diff options
author | 2020-02-14 15:18:11 -0800 | |
---|---|---|
committer | 2020-02-14 15:28:58 -0800 | |
commit | d41a1be2d7a0a46be45c7f6338b739c49bef824e (patch) | |
tree | 05d70920d1baba0d3b11d9ee75775c34fa85c49f /libs/nativewindow/ANativeWindow.cpp | |
parent | 133083e57a0ea88e6eee4b1e68801bfb59dfaefa (diff) |
[ANativeWindow] Apply remaining API feedback
* move ANativeWindow_getFrameId to a platform api, as
native_window_get_frame_timestamps is not stable and therefore the
associated api surface is not complete enough to be stable.
* Adjust documentation for returned errors. In most cases errors aren't
returned in practice. In the case of ANativeWindow_setDequeueTimeout the
errors are enumerated explicitly.
Bug: 148962594
Test: builds
Change-Id: I1ff5113d91fdcfc4679b2862af72fbf811171253
Diffstat (limited to 'libs/nativewindow/ANativeWindow.cpp')
-rw-r--r-- | libs/nativewindow/ANativeWindow.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/nativewindow/ANativeWindow.cpp b/libs/nativewindow/ANativeWindow.cpp index 98b76fd667..d0d1114d30 100644 --- a/libs/nativewindow/ANativeWindow.cpp +++ b/libs/nativewindow/ANativeWindow.cpp @@ -335,7 +335,3 @@ int ANativeWindow_setQueueBufferInterceptor(ANativeWindow* window, void* data) { return window->perform(window, NATIVE_WINDOW_SET_QUEUE_INTERCEPTOR, interceptor, data); } - -int64_t ANativeWindow_getNextFrameId(ANativeWindow* window) { - return query64(window, NATIVE_WINDOW_GET_NEXT_FRAME_ID); -} |