diff --git a/app/GioView.java b/app/GioView.java index e7bfbc32..25f9e866 100644 --- a/app/GioView.java +++ b/app/GioView.java @@ -259,6 +259,10 @@ public final class GioView extends SurfaceView implements Choreographer.FrameCal } private void setHighRefreshRate() { + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) { + return; + } + Context context = getContext(); Display display = context.getDisplay(); Display.Mode[] supportedModes = display.getSupportedModes();