exynos9610: Exclude Lineage Camera app
authorMichael Gernoth <michael@gernoth.net>
Tue, 11 Oct 2016 11:16:47 +0000 (13:16 +0200)
committerJan Altensen <info@stricted.net>
Sun, 1 Nov 2020 02:06:43 +0000 (03:06 +0100)
* We use our moto Camera app.

Change-Id: I5345fc03f45844bb10d629f100720e39fbbdf9ee

common.mk
remove_packages/Android.mk [new file with mode: 0644]

index f13d99e6d2ce293a08e7d78acd0f81653bc5400b..9df4ebfc5422de0d907ac572a57c381f3e5ce258 100644 (file)
--- 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 (file)
index 0000000..ec8fb92
--- /dev/null
@@ -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)