pipa: Enable support for freeform windows and picture-in-picture

Change-Id: If0a63fc7e8455100128fa25955bb4da485fff873
This commit is contained in:
Tim Zimmermann
2023-12-25 01:57:50 +08:00
committed by gensis01
parent 6286bc61f1
commit 93c875bce3
2 changed files with 11 additions and 0 deletions

View File

@@ -47,6 +47,10 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.freeform_window_management.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.freeform_window_management.xml \
frameworks/native/data/etc/android.software.picture_in_picture.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.picture_in_picture.xml
# Rootdir
PRODUCT_PACKAGES += \
init.device.rc

View File

@@ -498,4 +498,11 @@
Must be in the range specified by minimum and maximum. -->
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.074743524</item>
<!-- The device supports freeform window management. Windows have title bars and can be moved
and resized. If you set this to true, you also need to add
PackageManager.FEATURE_FREEFORM_WINDOW_MANAGEMENT feature to your device specification.
The duplication is necessary, because this information is used before the features are
available to the system.-->
<bool name="config_freeformWindowManagement">true</bool>
</resources>