From: Chih-Wei Huang Date: Tue, 20 Jun 2017 02:12:17 +0000 (+0800) Subject: Enable freeform window mode X-Git-Tag: android-x86-7.1-r1~25 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=commitdiff_plain;h=559757ea7bfe6d67886f5007c97bc0a3d15210cc Enable freeform window mode --- diff --git a/device.mk b/device.mk index 2c74cc3..3764464 100644 --- a/device.mk +++ b/device.mk @@ -70,6 +70,7 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ + frameworks/native/data/etc/android.software.freeform_window_management.xml:system/etc/permissions/android.software.freeform_window_management.xml \ frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ frameworks/native/data/etc/android.software.sip.xml:system/etc/permissions/android.software.sip.xml \ $(foreach f,$(wildcard $(LOCAL_PATH)/alsa/*),$(f):$(subst $(LOCAL_PATH),system/etc,$(f))) \ diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 3789704..a5e0aae 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -74,4 +74,19 @@ orientation. Activities that desire to run in a non-compatible orientation will be run from an emulated display within the physical display. --> true + + + true + + + 1