diff options
author | Bill Yi <byi@google.com> | 2015-03-17 12:42:36 -0700 |
---|---|---|
committer | Bill Yi <byi@google.com> | 2015-03-17 12:42:36 -0700 |
commit | fa589b65cd89169db3a596c0489412ddc617bb0c (patch) | |
tree | 7a91ffab8e5077564a2778e49305dff96ad383aa | |
parent | 771b791a68eb8bbbdae5d0dc0fed98c9ff168d20 (diff) | |
download | device_common-fa589b65cd89169db3a596c0489412ddc617bb0c.tar.gz device_common-fa589b65cd89169db3a596c0489412ddc617bb0c.tar.bz2 device_common-fa589b65cd89169db3a596c0489412ddc617bb0c.zip |
Put privileged apps under system/priv-app/ directoryandroid-5.1.1_r5android-5.1.1_r28android-5.1.1_r22android-5.1.1_r17android-5.1.1_r12lollipop-mr1-wfc-release
In the past we have put them under the default system/app.
BUG:18338400
Change-Id: I2b6912b6a9955ebd9348ea658e20a3d7cbba8b34
-rwxr-xr-x | generate-packages.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/generate-packages.sh b/generate-packages.sh index f86693b..9591833 100755 --- a/generate-packages.sh +++ b/generate-packages.sh @@ -82,6 +82,11 @@ do echo "LOCAL_SRC_FILES := \$(LOCAL_MODULE).apk" >> ${APK_MAKEFILE} echo "LOCAL_CERTIFICATE := PRESIGNED" >> ${APK_MAKEFILE} + if [[ ${ONE_FILE} == *priv-app/* ]] + then + echo "LOCAL_PRIVILEGED_MODULE := true" >> ${APK_MAKEFILE} + fi + if [[ ${TMP_ONE_FILE_NAME} == "LeanbackLauncher" ]] then echo "LOCAL_OVERRIDES_PACKAGES := Launcher2" >> ${APK_MAKEFILE} |