From 675b92638dcfa11ff6337591611524ea2fdd16cb Mon Sep 17 00:00:00 2001 From: Chen Xu Date: Thu, 15 Aug 2019 15:48:42 -0700 Subject: [PATCH] prepare cellbroadcastreceiver to be a mainline module 1. prepare two build targets one for updatable module another for the legacy platform module with diferent config 2. a new cellbroadcastpermissionconfig module to expose a signature permission. 3. by default, the build include the legacy version. Later we will switch to the updatable module after more validation e.g, usre data migration due to uid change 4. for go devies, always include the platform cellbroadcast to to avoid creating new process Bug: 135956699 Test: unit test and test app Change-Id: I4d757e27b1e36fbf4890d08afbd45a141bccfc7c Merged-In: I4d757e27b1e36fbf4890d08afbd45a141bccfc7c --- target/product/go_defaults_common.mk | 1 + target/product/telephony_system.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/target/product/go_defaults_common.mk b/target/product/go_defaults_common.mk index 7b9c78333..d4655f1f0 100644 --- a/target/product/go_defaults_common.mk +++ b/target/product/go_defaults_common.mk @@ -39,6 +39,7 @@ PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false # Do not spin up a separate process for the network stack on go devices, use an in-process APK. PRODUCT_PACKAGES += InProcessNetworkStack +PRODUCT_PACKAGES += CellBroadcastAppPlatform # Strip the local variable table and the local variable type table to reduce # the size of the system image. This has no bearing on stack traces, but will diff --git a/target/product/telephony_system.mk b/target/product/telephony_system.mk index 584cf1ee6..4da9bdfb4 100644 --- a/target/product/telephony_system.mk +++ b/target/product/telephony_system.mk @@ -21,6 +21,6 @@ PRODUCT_PACKAGES := \ ONS \ CarrierDefaultApp \ CallLogBackup \ - CellBroadcastReceiver \ + CellBroadcastAppPlatform \ PRODUCT_COPY_FILES := \