Add package manager flag for feature seamless refresh rate switching.

Bug: 186189147
Test: make RunTvSettingsRoboTests
Test: The seamless option no longer appears

Change-Id: Icc8821c2ee59b87e0fffb83b2a353bbb0c19f7a9
This commit is contained in:
Kriti Dang
2022-12-09 12:18:02 +01:00
parent 4c3f1666b4
commit 2732be5286
2 changed files with 9 additions and 0 deletions

View File

@@ -12165,6 +12165,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