mondrianwifi: enable support for freeform windows and picture-in-pic…

…ture

Change-Id: If0a63fc7e8455100128fa25955bb4da485fff873
This commit is contained in:
nyyu 2021-08-25 20:24:12 +02:00
parent 86d54e4c12
commit d58bd5cef3
2 changed files with 8 additions and 0 deletions

View File

@ -54,6 +54,8 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
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 \
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
PRODUCT_COPY_FILES += \

View File

@ -317,4 +317,10 @@
<!-- Disable rounded corners on windows to improve graphics performance -->
<bool name="config_supportsRoundedCornersOnWindows">false</bool>
<!-- 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>