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

Commit 0172fea3 authored by ramindani's avatar ramindani
Browse files

Update documentation for the FrameRateCategories

Test: m
BUG: 377488981
Flag: EXEMPT update javadoc
Change-Id: I275d284125dffe1e80e05b348a86467666c97c81
parent 1cb0eb01
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -1301,17 +1301,23 @@ public final class Display {
    }

    /**
     * Represents the {@link FrameRateCategory} for the Normal frame rate
     * Normal category determines the framework's recommended normal frame rate.
     * Opt for this normal rate unless a higher frame rate significantly enhances
     * the user experience.
     *
     * @see FrameRateCategory
     * @see #getSuggestedFrameRate(int)
     * @see #FRAME_RATE_CATEGORY_HIGH
     */
    @FlaggedApi(FLAG_ENABLE_GET_SUGGESTED_FRAME_RATE)
    public static final int FRAME_RATE_CATEGORY_NORMAL = 0;

    /**
     * Represents the {@link FrameRateCategory} for the High frame rate
     * High category determines the framework's recommended high frame rate.
     * Opt for this high rate when a higher frame rate significantly enhances
     * the user experience.
     *
     * @see FrameRateCategory
     * @see #getSuggestedFrameRate(int)
     * @see #FRAME_RATE_CATEGORY_NORMAL
     */
    @FlaggedApi(FLAG_ENABLE_GET_SUGGESTED_FRAME_RATE)
    public static final int FRAME_RATE_CATEGORY_HIGH = 1;