From 177bbfc4bd18c111a219a321c20cd55a82cee368 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Wed, 5 Oct 2016 07:19:48 -0700 Subject: snap: Provide a way to remove Snap from the build * Until Snap is updated with Camera2 support, it needs to get out of the way in a few cases. Allow a device to name it's preferred camera app which will remove the override from the makefile. Change-Id: I2ead4c092fbbe259501f856081e1e98be04c6fbd --- Android.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Android.mk b/Android.mk index 3d6711391..cefe8f237 100644 --- a/Android.mk +++ b/Android.mk @@ -31,7 +31,9 @@ LOCAL_PRIVILEGED_MODULE := true #LOCAL_SDK_VERSION := current LOCAL_RENDERSCRIPT_TARGET_API := 23 +ifneq ($(TARGET_CAMERA_APP),Camera2) LOCAL_OVERRIDES_PACKAGES := Camera2 +endif LOCAL_PROGUARD_FLAG_FILES := proguard.flags -- cgit v1.2.3