config: packages: build SHIFT-HomeQuickStep

Change-Id: I146d6992539aedf934aaf6d31c67f59beba0f6bf
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/config/packages.mk b/config/packages.mk
index f6fc457..84710ea 100644
--- a/config/packages.mk
+++ b/config/packages.mk
@@ -12,7 +12,9 @@
 PRODUCT_PACKAGES += additional_repos.xml-fdroid
 
 # Launcher
-PRODUCT_PACKAGES += SHIFT-Home
+PRODUCT_PACKAGES += \
+    SHIFT-HomeOverlay \
+    SHIFT-HomeQuickStep \
 
 # OTA
 PRODUCT_PACKAGES += SHIFT-OTA
diff --git a/overlay/rro_packages/SHIFT-HomeOverlay/Android.bp b/overlay/rro_packages/SHIFT-HomeOverlay/Android.bp
new file mode 100644
index 0000000..9970f83
--- /dev/null
+++ b/overlay/rro_packages/SHIFT-HomeOverlay/Android.bp
@@ -0,0 +1,12 @@
+//
+// Copyright (C) 2022 The LineageOS Project
+// SPDX-License-Identifier: Apache-2.0
+//
+
+runtime_resource_overlay {
+    name: "SHIFT-HomeOverlay",
+    product_specific: true,
+    overrides: [
+        "TrebuchetOverlay",
+    ],
+}
diff --git a/overlay/rro_packages/SHIFT-HomeOverlay/AndroidManifest.xml b/overlay/rro_packages/SHIFT-HomeOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..b87512a
--- /dev/null
+++ b/overlay/rro_packages/SHIFT-HomeOverlay/AndroidManifest.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+     Copyright (C) 2022 The LineageOS Project
+     SPDX-License-Identifier: Apache-2.0
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    package="com.android.launcher3.overlay">
+
+    <overlay
+        android:isStatic="true"
+        android:priority="100"
+        android:targetPackage="com.android.launcher3" />
+</manifest>
diff --git a/overlay/rro_packages/SHIFT-HomeOverlay/res/values/config.xml b/overlay/rro_packages/SHIFT-HomeOverlay/res/values/config.xml
new file mode 100644
index 0000000..984c43b
--- /dev/null
+++ b/overlay/rro_packages/SHIFT-HomeOverlay/res/values/config.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+    Copyright (C) 2021 The LineageOS 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>
+
+    <!-- Default packages -->
+    <string name="wallpaper_picker_package" translatable="false">com.android.wallpaper</string>
+
+    <!-- Enable All Apps header scrim (works fine with our fixed search UI) -->
+    <bool name="config_header_protection_supported">true</bool>
+
+</resources>