Merge "Add TestApi to WM refresh rate param." into udc-dev

This commit is contained in:
Rachel Lee
2023-06-01 21:09:12 +00:00
committed by Android (Google) Code Review
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

@@ -3763,6 +3763,7 @@ public interface WindowManager extends ViewManager {
* This value is ignored if {@link #preferredDisplayModeId} is set.
* @hide
*/
@TestApi
public float preferredMinDisplayRefreshRate;
/**
@@ -3771,6 +3772,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. */