summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2018-08-22 14:24:30 +0200
committerBruno Martins <bgcngm@gmail.com>2018-11-20 12:32:17 +0000
commitd76b4ae20d6c7fc976c9d5d8bc60cdd2b7e0676c (patch)
tree0a849b72509ab922e4fa0ed73eaf1ed88d1a50b0
parent47131ce195b984023e6bab0f2d4f8d65b0d798b4 (diff)
downloadandroid_packages_apps_Snap-d76b4ae20d6c7fc976c9d5d8bc60cdd2b7e0676c.zip
android_packages_apps_Snap-d76b4ae20d6c7fc976c9d5d8bc60cdd2b7e0676c.tar.gz
android_packages_apps_Snap-d76b4ae20d6c7fc976c9d5d8bc60cdd2b7e0676c.tar.bz2
Snap: use platform cert
This is needed to be able to put Snap into it's own selinux domain. Change-Id: I23f73723a9b62ee67b6d0f234898828eba945962
-rwxr-xr-xAndroid.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 2dcbeb2..2487b66 100755
--- a/Android.mk
+++ b/Android.mk
@@ -35,7 +35,8 @@ LOCAL_JAVA_LIBRARIES := org.lineageos.platform.internal
LOCAL_PACKAGE_NAME := Snap
LOCAL_PRIVILEGED_MODULE := true
-LOCAL_PRIVATE_PLATFORM_APIS:=true
+LOCAL_PRIVATE_PLATFORM_APIS := true
+LOCAL_CERTIFICATE := platform
LOCAL_AAPT_FLAGS += --rename-manifest-package org.lineageos.snap