zenfone6: Fix MultiUserUI support
Please Asus, let me choose if i want it or not...
Change-Id: I19d8fc225a393082c1334003e4ccdb19190bac18
diff --git a/FrameworksResOverlay/Android.mk b/FrameworksResOverlay/Android.mk
new file mode 100644
index 0000000..2aa141d
--- /dev/null
+++ b/FrameworksResOverlay/Android.mk
@@ -0,0 +1,8 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_PACKAGE_NAME := FrameworksResOverlay
+LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
+LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
+LOCAL_PRIVATE_PLATFORM_APIS := true
+include $(BUILD_PACKAGE)
\ No newline at end of file
diff --git a/FrameworksResOverlay/AndroidManifest.xml b/FrameworksResOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..fbdbd31
--- /dev/null
+++ b/FrameworksResOverlay/AndroidManifest.xml
@@ -0,0 +1,6 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="android.frameworks.overlay"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <overlay android:isStatic="true" android:priority="140" android:targetPackage="android"/>
+</manifest>
\ No newline at end of file
diff --git a/FrameworksResOverlay/res/values/bools.xml b/FrameworksResOverlay/res/values/bools.xml
new file mode 100644
index 0000000..455b2ca
--- /dev/null
+++ b/FrameworksResOverlay/res/values/bools.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <bool name="config_enableMultiUserUI">true</bool>
+</resources>
diff --git a/FrameworksResOverlay/res/values/integers.xml b/FrameworksResOverlay/res/values/integers.xml
new file mode 100644
index 0000000..3e18cdd
--- /dev/null
+++ b/FrameworksResOverlay/res/values/integers.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <integer name="config_multiuserMaximumUsers">4</integer>
+</resources>
diff --git a/device.mk b/device.mk
index e7faa1e..f11b866 100755
--- a/device.mk
+++ b/device.mk
@@ -97,6 +97,10 @@
PRODUCT_BOOT_JARS += qcom.fmradio
+# Frameworks
+PRODUCT_PACKAGES += \
+ FrameworksResOverlay
+
# Input
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/fts_ts.kl:system/usr/keylayout/fts_ts.kl \