Skip to content
Snippets Groups Projects
Unverified Commit 6475d0ad authored by Michael Gernoth's avatar Michael Gernoth Committed by Joshua Blanchard
Browse files

beckham: Exclude Lineage Camera app

* We use our moto Camera app.

EDIT: This way allows us a little more flexability and
doesn't require decommonizing the package for all devices.

Change-Id: I5345fc03f45844bb10d629f100720e39fbbdf9ee
parent c7a54c01
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,9 @@ PRODUCT_COPY_FILES += \ ...@@ -45,6 +45,9 @@ PRODUCT_COPY_FILES += \
TARGET_SCREEN_HEIGHT := 2160 TARGET_SCREEN_HEIGHT := 2160
TARGET_SCREEN_WIDTH := 1080 TARGET_SCREEN_WIDTH := 1080
# Camera
TARGET_SHIPS_MOTCAMERA := true
# Dex-pre-opt exclusions # Dex-pre-opt exclusions
$(call add-product-dex-preopt-module-config,MotoSignatureApp,disable) $(call add-product-dex-preopt-module-config,MotoSignatureApp,disable)
...@@ -81,6 +84,10 @@ PRODUCT_COPY_FILES += \ ...@@ -81,6 +84,10 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
# Remove unwanted packages
PRODUCT_PACKAGES += \
RemovePackages
# Sensors # Sensors
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/sensors/sensor_def_qcomdev.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_def_qcomdev.conf \ $(LOCAL_PATH)/sensors/sensor_def_qcomdev.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_def_qcomdev.conf \
......
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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment