Remove old macro/function to get {min|max}RefreshDuration
Test: make
Change-Id: I1d35500eb677985fdc426ae7b38d697dcb7c38bd
diff --git a/include/system/window.h b/include/system/window.h
index 15a9a55..26ea96a 100644
--- a/include/system/window.h
+++ b/include/system/window.h
@@ -356,7 +356,6 @@
NATIVE_WINDOW_ENABLE_FRAME_TIMESTAMPS = 23,
NATIVE_WINDOW_GET_FRAME_TIMESTAMPS = 24,
NATIVE_WINDOW_GET_REFRESH_CYCLE_DURATION= 25,
- NATIVE_WINDOW_GET_REFRESH_CYCLE_PERIOD = 26,
};
/* parameter for NATIVE_WINDOW_[API_][DIS]CONNECT */
@@ -1049,14 +1048,6 @@
outRefreshDuration);
}
-static inline int native_window_get_refresh_cycle_period(
- struct ANativeWindow* window,
- int64_t* outMinRefreshDuration, int64_t* outMaxRefreshDuration)
-{
- return window->perform(window, NATIVE_WINDOW_GET_REFRESH_CYCLE_PERIOD,
- outMinRefreshDuration, outMaxRefreshDuration);
-}
-
__END_DECLS