Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 081c4d43 authored by Huihong Luo's avatar Huihong Luo
Browse files

Turn on ENABLE_VIRTUAL_DISPLAY_REFRESH_RATE flag

This feature enables the creation of virtual displays with an added
parameter for requested refresh rate

Bug: 267363922
Test: refer to the sample in base/tests/VirtualDisplayEncoder
Change-Id: Ic2c8e80ee599d2280fd2f3efd9a62c08fe54c668
parent 79d1135c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ import java.util.concurrent.Executor;
public final class DisplayManager {
    private static final String TAG = "DisplayManager";
    private static final boolean DEBUG = false;
    private static final boolean ENABLE_VIRTUAL_DISPLAY_REFRESH_RATE = false;
    private static final boolean ENABLE_VIRTUAL_DISPLAY_REFRESH_RATE = true;

    private final Context mContext;
    private final DisplayManagerGlobal mGlobal;