diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-03-29 02:07:10 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-03-29 02:07:10 +0000 |
commit | 191c93b6667669c1a51fcf690f491c6a30d31b56 (patch) | |
tree | 690ba9dec82b532857b21820fb0d8e03681dd56a | |
parent | ee000fe9a801bb388df3679bb6ef3cb817f68ca7 (diff) | |
parent | 8bab2ef6abf225f6845b0aa1577ff8c7db494c7f (diff) | |
download | base-191c93b6667669c1a51fcf690f491c6a30d31b56.tar.gz |
Merge "Add display compat system feature to PackageManager" into android12L-tests-devandroid12L-tests-dev
-rw-r--r-- | core/java/android/content/pm/PackageManager.java | 10 |
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 a6bf6a41e756..aafc42058547 100644 --- a/core/java/android/content/pm/PackageManager.java +++ b/core/java/android/content/pm/PackageManager.java @@ -2485,6 +2485,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. |