summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorChao Zhang <chaoz@codeaurora.org>2016-04-19 10:43:08 +0800
committerChao Zhang <chaoz@codeaurora.org>2016-04-19 10:44:17 +0800
commitd22a16065092b77febc6d0c0e0c388ad20a918bc (patch)
tree73a01dd595bba35424dd6ad2e153c5b97b847b5a /Android.mk
parent0d1eba0d115ffc12576cc441239e76d97f755173 (diff)
downloadandroid_packages_apps_Gallery2-d22a16065092b77febc6d0c0e0c388ad20a918bc.tar.gz
android_packages_apps_Gallery2-d22a16065092b77febc6d0c0e0c388ad20a918bc.tar.bz2
android_packages_apps_Gallery2-d22a16065092b77febc6d0c0e0c388ad20a918bc.zip
Gallery2: set module privileged in Android.mk to delete photos on SD card.
set Gallery2 module privileged in Android.mk, make sure Gallery2 has permission to delete photos on SD card. Change-Id: I65aed83b3cea951202c001e556d9e4200f2bc81f CRs-Fixed: 990742
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index fe1c14f74..3a425d213 100644
--- a/Android.mk
+++ b/Android.mk
@@ -37,6 +37,8 @@ LOCAL_AAPT_FLAGS := --auto-add-overlay
LOCAL_PACKAGE_NAME := Gallery2
+LOCAL_PRIVILEGED_MODULE := true
+
LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D
LOCAL_PROGUARD_ENABLED := disabled