Skip to content

Commit

Permalink
Move Dialer to /product
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Anton Hansson committed Jan 25, 2019
1 parent 6ed2637 commit 4dccc47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 4dccc47

Please sign in to comment.