Merge "Add fullscreen option in UserMinAspectRatio" into udc-qpr-dev am: 1982708ab1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24144644

Change-Id: Id42f2a9726ab602007e41c725e6d24dbdc703528
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Graciela Putri
2023-07-21 22:13:59 +00:00
committed by Automerger Merge Worker

View File

@@ -2354,6 +2354,7 @@ public abstract class PackageManager {
USER_MIN_ASPECT_RATIO_4_3,
USER_MIN_ASPECT_RATIO_16_9,
USER_MIN_ASPECT_RATIO_3_2,
USER_MIN_ASPECT_RATIO_FULLSCREEN,
})
@Retention(RetentionPolicy.SOURCE)
public @interface UserMinAspectRatio {}
@@ -2375,8 +2376,9 @@ public abstract class PackageManager {
/**
* Aspect ratio override code: user forces app to the aspect ratio of the device display size.
* This will be the portrait aspect ratio of the device if the app is portrait or the landscape
* aspect ratio of the device if the app is landscape.
* This will be the portrait aspect ratio of the device if the app has fixed portrait
* orientation or the landscape aspect ratio of the device if the app has fixed landscape
* orientation.
*
* @hide
*/
@@ -2400,6 +2402,12 @@ public abstract class PackageManager {
*/
public static final int USER_MIN_ASPECT_RATIO_3_2 = 5;
/**
* Aspect ratio override code: user forces app to fullscreen
* @hide
*/
public static final int USER_MIN_ASPECT_RATIO_FULLSCREEN = 6;
/** @hide */
@IntDef(flag = true, prefix = { "DELETE_" }, value = {
DELETE_KEEP_DATA,