From bbb6ee12f99d32e4ce04670f1edf3fa484c0d401 Mon Sep 17 00:00:00 2001 From: Michael W Date: Wed, 26 Jul 2017 19:57:30 +0200 Subject: Revert "SnapdragonCamera: Adding PRIVILEGED true" This reverts commit 382e2cb9c930a129aca9e83315660e8172786fb4. * The original commit was a quick way to get the needed permissions without adding the support for runtime permissions, which are now handled. * this kind of app is not expected to be a privileged app and as consequence it ends up running in the wrong SElinux context -> Fixes taking and cropping user images Change-Id: Ic585d232ada6dcba208fcb49634e46806e4b954f --- Android.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/Android.mk b/Android.mk index 45701b545..8c0ac239e 100644 --- a/Android.mk +++ b/Android.mk @@ -26,7 +26,6 @@ LOCAL_AAPT_FLAGS := \ --version-code $(version_code_package) \ LOCAL_PACKAGE_NAME := Snap -LOCAL_PRIVILEGED_MODULE := true LOCAL_AAPT_FLAGS += --rename-manifest-package org.cyanogenmod.snap -- cgit v1.2.3