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

Commit b217bbb6 authored by Rupesh Bansal's avatar Rupesh Bansal Committed by Automerger Merge Worker
Browse files

Merge "Add documentation for LayoutParams.preferredRefreshRate" into tm-dev am: 336fcab7

parents 08bba494 336fcab7
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -3108,10 +3108,14 @@ public interface WindowManager extends ViewManager {

        /**
         * The preferred refresh rate for the window.
         *
         * <p>
         * This must be one of the supported refresh rates obtained for the display(s) the window
         * is on. The selected refresh rate will be applied to the display's default mode.
         *
         * <p>
         * This should be used in favor of {@link LayoutParams#preferredDisplayModeId} for
         * applications that want to specify the refresh rate, but do not want to specify a
         * preference for any other displayMode properties (e.g., resolution).
         * <p>
         * This value is ignored if {@link #preferredDisplayModeId} is set.
         *
         * @see Display#getSupportedRefreshRates()