From f19279e4f7f40fe33e3e33cd61f39ea3b47c7050 Mon Sep 17 00:00:00 2001 From: Anirudh Gupta Date: Thu, 27 Feb 2020 05:02:12 +0000 Subject: [PATCH] Lawnchair: Override other launchers This removes the necessity to edit vendor/pa/config/common.mk The overrides includes the most common launchers in AOSP Signed-off-by: Anirudh Gupta Signed-off-by: Park Ju Hyung --- README.md | 4 +++- priv-app/Lawnchair/Android.mk | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ef05afc..faa5cc4 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ In case of Paranoid Android, this can be done by appending the following at `ven **3. Remove existing launcher from the build** -In case of Paranoid Android, this can be done by removing `ParanoidQuickStep` from `vendor/pa/config/common.mk` and `vendor/pa/config/packages.mk`. +`ParanoidQuickStep`, `Launcher3QuickStep`, `PixelLauncher` and `TrebuchetQuickStep` packages are overriden from `priv-app/Lawnchair/Android.mk`. + +If your existing launcher uses a different name, either remove it from the build manually or post a pull-request. **4. Build Android** diff --git a/priv-app/Lawnchair/Android.mk b/priv-app/Lawnchair/Android.mk index e5c2ac4..40c3b4f 100644 --- a/priv-app/Lawnchair/Android.mk +++ b/priv-app/Lawnchair/Android.mk @@ -7,5 +7,6 @@ LOCAL_SRC_FILES := Lawnchair.apk LOCAL_MODULE_TAGS := optional LOCAL_MODULE_CLASS := ETC LOCAL_MODULE_PATH := $(TARGET_OUT)/priv-app/Lawnchair +LOCAL_OVERRIDES_PACKAGES := ParanoidQuickStep Launcher3QuickStep PixelLauncher TrebuchetQuickStep include $(BUILD_PREBUILT)