summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-03-29 02:21:14 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-03-29 02:21:14 +0000
commitf2425eb72aba3a8d534bcf9a9157af6e6e90d000 (patch)
treef43dae539985f68fac4138a7482014961f922266
parent02a358d21b634e2ae9953c2c1d35572cec438894 (diff)
parent94b01da43926370f818758d57158f916d68a0198 (diff)
downloadbase-android13-tests-dev.tar.gz
Merge "Merge "Add display compat system feature to PackageManager" into android12L-tests-dev am: 191c93b666" into android13-tests-devandroid13-tests-dev
-rw-r--r--core/java/android/content/pm/PackageManager.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java
index a90f6d625c51..1ae0c96b9c74 100644
--- a/core/java/android/content/pm/PackageManager.java
+++ b/core/java/android/content/pm/PackageManager.java
@@ -2740,6 +2740,16 @@ public abstract class PackageManager {
/**
* Feature for {@link #getSystemAvailableFeatures} and
+ * {@link #hasSystemFeature}: This device is capable of launching apps in automotive display
+ * compatibility mode.
+ * @hide
+ */
+ @SdkConstant(SdkConstantType.FEATURE)
+ public static final String FEATURE_CAR_DISPLAY_COMPATIBILITY =
+ "android.software.car.display_compatibility";
+
+ /**
+ * Feature for {@link #getSystemAvailableFeatures} and
* {@link #hasSystemFeature(String, int)}: If this feature is supported, the device supports
* {@link android.security.identity.IdentityCredentialStore} implemented in secure hardware
* at the given feature version.