Skip to content

Commit 7ed019e

Browse files
Treehugger Robotandroid-build-merge-worker-robot
authored andcommitted
Merge "Correct "introduced" version for inline API." into main am: 1c0f7af am: 9e1353f
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3302719 Change-Id: Iaed2bd41c0163b396f68d06fe54c3cd426e3a292 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2 parents 2abcfd9 + 9e1353f commit 7ed019e

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
@@ -436,14 +436,13 @@ int32_t ANativeWindow_setFrameRateParams(
436436
*
437437
* See ANativeWindow_setFrameRateWithChangeStrategy().
438438
*
439-
* Available since API level 34.
439+
* Available since API level 31.
440440
*
441441
* \param window pointer to an ANativeWindow object.
442442
*
443443
* \return 0 for success, -EINVAL if the window value is invalid.
444444
*/
445-
inline int32_t ANativeWindow_clearFrameRate(ANativeWindow* window)
446-
__INTRODUCED_IN(__ANDROID_API_U__) {
445+
inline int32_t ANativeWindow_clearFrameRate(ANativeWindow* window) __INTRODUCED_IN(31) {
447446
return ANativeWindow_setFrameRateWithChangeStrategy(window, 0,
448447
ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT,
449448
ANATIVEWINDOW_CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS);

0 commit comments

Comments
 (0)