overlay: enable desktop mode
* Also add required permission for freeform windows.
This commit is contained in:
@@ -16,6 +16,10 @@ PRODUCT_CHARACTERISTICS := tablet,nosdcard
|
|||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
|
||||||
$(call enforce-product-packages-exist,com.android.ranging)
|
$(call enforce-product-packages-exist,com.android.ranging)
|
||||||
|
|
||||||
|
# Freeform windows
|
||||||
|
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
|
||||||
|
|
||||||
# Keylayout
|
# Keylayout
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(DEVICE_PATH)/keylayout/Generic.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl
|
$(DEVICE_PATH)/keylayout/Generic.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl
|
||||||
|
|||||||
@@ -121,4 +121,10 @@
|
|||||||
<bool name="config_cecTvSendStandbyOnSleepEnabled_default">false</bool>
|
<bool name="config_cecTvSendStandbyOnSleepEnabled_default">false</bool>
|
||||||
<bool name="config_cecTvSendStandbyOnSleepDisabled_default">true</bool>
|
<bool name="config_cecTvSendStandbyOnSleepDisabled_default">true</bool>
|
||||||
|
|
||||||
|
<!-- Whether desktop mode is supported on the current device -->
|
||||||
|
<bool name="config_isDesktopModeSupported">true</bool>
|
||||||
|
|
||||||
|
<!-- Whether the developer option for desktop mode is supported on the current device -->
|
||||||
|
<bool name="config_isDesktopModeDevOptionSupported">true</bool>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user