Merge "Add package manager flag for feature seamless refresh rate switching."

This commit is contained in:
Kriti Dang
2022-12-15 14:37:44 +00:00
committed by Android (Google) Code Review
2 changed files with 9 additions and 0 deletions

View File

@@ -12185,6 +12185,7 @@ package android.content.pm {
field public static final String FEATURE_RAM_NORMAL = "android.hardware.ram.normal";
field public static final String FEATURE_SCREEN_LANDSCAPE = "android.hardware.screen.landscape";
field public static final String FEATURE_SCREEN_PORTRAIT = "android.hardware.screen.portrait";
field public static final String FEATURE_SEAMLESS_REFRESH_RATE_SWITCHING = "android.software.seamless_refresh_rate_switching";
field public static final String FEATURE_SECURELY_REMOVES_USERS = "android.software.securely_removes_users";
field public static final String FEATURE_SECURE_LOCK_SCREEN = "android.software.secure_lock_screen";
field public static final String FEATURE_SECURITY_MODEL_COMPATIBLE = "android.hardware.security.model.compatible";

View File

@@ -2978,6 +2978,14 @@ public abstract class PackageManager {
public static final String FEATURE_VIRTUALIZATION_FRAMEWORK =
"android.software.virtualization_framework";
/**
* Feature for {@link #getSystemAvailableFeatures()} and {@link #hasSystemFeature(String)}.
* This feature indicates whether device supports seamless refresh rate switching.
*/
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_SEAMLESS_REFRESH_RATE_SWITCHING
= "android.software.seamless_refresh_rate_switching";
/**
* Feature for {@link #getSystemAvailableFeatures} and
* {@link #hasSystemFeature(String, int)}: If this feature is supported, the Vulkan