Vendor: Add common-tablet.mk and common-tablet overlay

Change-Id: Iba072a50ce2167694c43a53175287c9e153477ec
diff --git a/config/common_tablet.mk b/config/common_tablet.mk
new file mode 100644
index 0000000..829bfa1
--- /dev/null
+++ b/config/common_tablet.mk
@@ -0,0 +1,8 @@
+# Common settings and files
+-include vendor/omni/config/common.mk
+
+# Add tablet overlays
+PRODUCT_PACKAGE_OVERLAYS += vendor/omni/overlay/common_tablet
+
+PRODUCT_CHARACTERISTICS := tablet
+
diff --git a/overlay/common_tablet/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/common_tablet/frameworks/base/packages/SystemUI/res/values/config.xml
new file mode 100644
index 0000000..8f8854e
--- /dev/null
+++ b/overlay/common_tablet/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<!-- These resources are around just to allow their values to be customized
+     for different hardware and product builds. -->
+
+<resources>
+    <!-- Whether we're using the tablet-optimized recents interface (we use this
+     value at runtime for some things) -->
+    <bool name="config_recents_interface_for_tablets">true</bool>
+</resources>
diff --git a/overlay/common_tablet/packages/apps/Browser/res/values/bools.xml b/overlay/common_tablet/packages/apps/Browser/res/values/bools.xml
new file mode 100644
index 0000000..0d28bec
--- /dev/null
+++ b/overlay/common_tablet/packages/apps/Browser/res/values/bools.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+ -->
+
+<resources
+    xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+    <bool name="isTablet">true</bool>
+</resources>
diff --git a/overlay/common_tablet/packages/apps/Launcher3/res/values/config.xml b/overlay/common_tablet/packages/apps/Launcher3/res/values/config.xml
new file mode 100644
index 0000000..81945e0
--- /dev/null
+++ b/overlay/common_tablet/packages/apps/Launcher3/res/values/config.xml
@@ -0,0 +1,3 @@
+<resources>
+    <bool name="is_tablet">true</bool>
+</resources>