summaryrefslogtreecommitdiffstats
path: root/ui/Android.mk
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2018-01-16 12:57:43 -0800
committerJeffrey Vander Stoep <jeffv@google.com>2018-01-17 16:30:06 +0000
commitfe295ac5be7ace7e6ee4d1e27149e36b4ec73307 (patch)
tree9c6e96e6d744e2cf07a96b26d49cafe50d2e0ad4 /ui/Android.mk
parent47f5a922b6ea82d8b16cd366c92bba9e4d5828ae (diff)
downloadandroid_packages_providers_DownloadProvider-fe295ac5be7ace7e6ee4d1e27149e36b4ec73307.tar.gz
android_packages_providers_DownloadProvider-fe295ac5be7ace7e6ee4d1e27149e36b4ec73307.tar.bz2
android_packages_providers_DownloadProvider-fe295ac5be7ace7e6ee4d1e27149e36b4ec73307.zip
Install in /system/priv-app
DownloadProviderUi app is privileged because it runs in the same user (and same process) as other priv-apps such as the MediaProvider and gains all the privileges of that user. Mark it appropriately so that PackageManager scans it correctly. Bug: 71593002 Test: Build and flash Taimen. Verify that DownloadProviderUi is installed in /system/priv-app instead of /system/app. Change-Id: Ic3b45c7d38a49f6486f628429a24dd59f50a1cef
Diffstat (limited to 'ui/Android.mk')
-rw-r--r--ui/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/Android.mk b/ui/Android.mk
index 9a545550..444ff9b9 100644
--- a/ui/Android.mk
+++ b/ui/Android.mk
@@ -11,5 +11,6 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \
LOCAL_PACKAGE_NAME := DownloadProviderUi
LOCAL_CERTIFICATE := media
+LOCAL_PRIVILEGED_MODULE := true
include $(BUILD_PACKAGE)