sm6250-common: remove Camera2

Just give users their choice to install whatever they want

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2020-09-02 13:50:47 +02:00 committed by Nick C
parent e47fcb2fd0
commit 1bc3162116
2 changed files with 15 additions and 0 deletions

View File

@ -264,3 +264,7 @@ PRODUCT_PACKAGES += \
PRODUCT_BOOT_JARS += \
WfdCommon
# Remove unwanted packages
PRODUCT_PACKAGES += \
RemovePackages

View File

@ -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)