summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2019-01-25 13:58:33 +0000
committerAnton Hansson <hansson@google.com>2019-01-25 13:58:33 +0000
commit4dccc478f8a2424a96f7080a4ce85b15d20bf6f1 (patch)
tree08728e829ecb575f3d0da0c308d8acdde73242d4
parent6ed26377fa2db91c0b98b3bcc5c8831e1d7112d5 (diff)
Move Dialer to /product
This app is frequently overriden by proprietary apps on shipping devices, so move it to /product. Also make the app inherit its privapp permission grant. Bug: 122353713 Test: launch dialer on aosp_blueline Change-Id: I5ed4dc4360c8a873da153b71a0ec19ff8695e85a
-rw-r--r--Android.mk2
-rw-r--r--CleanSpec.mk1
2 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 0eb26e424..eb6798cb7 100644
--- a/Android.mk
+++ b/Android.mk
@@ -175,7 +175,9 @@ LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := Dialer
LOCAL_CERTIFICATE := shared
LOCAL_PRIVILEGED_MODULE := true
+LOCAL_PRODUCT_MODULE := true
LOCAL_USE_AAPT2 := true
+LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.dialer
include $(BUILD_PACKAGE)
diff --git a/CleanSpec.mk b/CleanSpec.mk
index fecdf7929..960bd75ad 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -39,3 +39,4 @@
# ************************************************
$(call add-clean-step, (cd packages/apps/Dialer; git clean -f java/com/android/voicemail/impl/com/google/internal/communications/voicemailtranscription/v1/VoicemailTranscriptionServiceGrpc.java >&2) || true)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/Dialer)