* We use our moto Camera app.
Change-Id: I5345fc03f45844bb10d629f100720e39fbbdf9ee
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 \
--- /dev/null
+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)