summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index ce21c35..5ef85b4 100644
--- a/Android.mk
+++ b/Android.mk
@@ -48,7 +48,11 @@ LOCAL_AAPT_FLAGS := \
#LOCAL_SDK_VERSION := current
LOCAL_PACKAGE_NAME := Trebuchet
LOCAL_PRIVILEGED_MODULE := true
-#LOCAL_CERTIFICATE := shared
+
+# Sign the package when not using test-keys
+ifneq ($(DEFAULT_SYSTEM_DEV_CERTIFICATE),build/target/product/security/testkey)
+LOCAL_CERTIFICATE := cyngn-app
+endif
LOCAL_AAPT_FLAGS += --rename-manifest-package com.cyanogenmod.trebuchet