Add TestApi to WM refresh rate param.

Bug: 276803096
Test: See CTS change
Change-Id: I2889d094c1ae7a9fb3dd5ad89789aba916f91b20
This commit is contained in:
Rachel Lee
2023-05-26 15:45:30 -07:00
parent 60cb29d83b
commit 9fe6b76ca9
2 changed files with 4 additions and 0 deletions

View File

@@ -3568,6 +3568,8 @@ package android.view {
field public static final int ACCESSIBILITY_TITLE_CHANGED = 33554432; // 0x2000000
field public static final int FLAG_SLIPPERY = 536870912; // 0x20000000
field public CharSequence accessibilityTitle;
field public float preferredMaxDisplayRefreshRate;
field public float preferredMinDisplayRefreshRate;
field public int privateFlags;
}

View File

@@ -3755,6 +3755,7 @@ public interface WindowManager extends ViewManager {
* This value is ignored if {@link #preferredDisplayModeId} is set.
* @hide
*/
@TestApi
public float preferredMinDisplayRefreshRate;
/**
@@ -3763,6 +3764,7 @@ public interface WindowManager extends ViewManager {
* This value is ignored if {@link #preferredDisplayModeId} is set.
* @hide
*/
@TestApi
public float preferredMaxDisplayRefreshRate;
/** Indicates whether this window wants the HDR conversion is disabled. */