Undeprecate LayoutParams.preferredRefreshRate
This was previously deprecated in favor of preferredDisplayModeId. However, display modes include specific resolutions so we would still need an API for the valid use-case of specifying only a preferred refresh rate. Bug: 227627158 Bug: 224915081 Test: built locally Change-Id: Ic7c711d03d3ccc7a5193b26ca38159f048777927
This commit is contained in:
@@ -51602,7 +51602,7 @@ package android.view {
|
||||
field public String packageName;
|
||||
field public boolean preferMinimalPostProcessing;
|
||||
field public int preferredDisplayModeId;
|
||||
field @Deprecated public float preferredRefreshRate;
|
||||
field public float preferredRefreshRate;
|
||||
field public int rotationAnimation;
|
||||
field public float screenBrightness;
|
||||
field public int screenOrientation;
|
||||
|
||||
@@ -3107,9 +3107,7 @@ public interface WindowManager extends ViewManager {
|
||||
* This value is ignored if {@link #preferredDisplayModeId} is set.
|
||||
*
|
||||
* @see Display#getSupportedRefreshRates()
|
||||
* @deprecated use {@link #preferredDisplayModeId} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public float preferredRefreshRate;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user