Skip to content

Commit 1c0f7af

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Correct "introduced" version for inline API." into main
2 parents bcd6336 + 3659568 commit 1c0f7af

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

libs/nativewindow/include/android/native_window.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,14 +366,13 @@ int32_t ANativeWindow_setFrameRateWithChangeStrategy(ANativeWindow* window, floa
366366
*
367367
* See ANativeWindow_setFrameRateWithChangeStrategy().
368368
*
369-
* Available since API level 34.
369+
* Available since API level 31.
370370
*
371371
* \param window pointer to an ANativeWindow object.
372372
*
373373
* \return 0 for success, -EINVAL if the window value is invalid.
374374
*/
375-
inline int32_t ANativeWindow_clearFrameRate(ANativeWindow* window)
376-
__INTRODUCED_IN(__ANDROID_API_U__) {
375+
inline int32_t ANativeWindow_clearFrameRate(ANativeWindow* window) __INTRODUCED_IN(31) {
377376
return ANativeWindow_setFrameRateWithChangeStrategy(window, 0,
378377
ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT,
379378
ANATIVEWINDOW_CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS);

0 commit comments

Comments
 (0)