From 1ac8fae1f386c1331da56f3cccb06dd7cdad493a Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Tue, 11 Oct 2016 13:16:47 +0200 Subject: [PATCH] exynos9610: Exclude Lineage Camera app * We use our moto Camera app. Change-Id: I5345fc03f45844bb10d629f100720e39fbbdf9ee --- common.mk | 4 ++++ remove_packages/Android.mk | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 remove_packages/Android.mk diff --git a/common.mk b/common.mk index f13d99e..9df4ebf 100644 --- a/common.mk +++ b/common.mk @@ -282,6 +282,10 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ $(COMMON_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt +# Remove unwanted packages +PRODUCT_PACKAGES += \ + RemovePackages + # ril PRODUCT_PACKAGES += \ android.hardware.radio.config@1.0 \ diff --git a/remove_packages/Android.mk b/remove_packages/Android.mk new file mode 100644 index 0000000..ec8fb92 --- /dev/null +++ b/remove_packages/Android.mk @@ -0,0 +1,11 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE := RemovePackages +LOCAL_MODULE_CLASS := APPS +LOCAL_MODULE_TAGS := optional +LOCAL_OVERRIDES_PACKAGES := Camera2 +LOCAL_UNINSTALLABLE_MODULE := true +LOCAL_CERTIFICATE := PRESIGNED +LOCAL_SRC_FILES := /dev/null +include $(BUILD_PREBUILT) -- 2.20.1